diff options
Diffstat (limited to 'roles/jails/06_hommabot/tasks/main.yml')
| -rw-r--r-- | roles/jails/06_hommabot/tasks/main.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/jails/06_hommabot/tasks/main.yml b/roles/jails/06_hommabot/tasks/main.yml index 9b1ee5f..d19beb1 100644 --- a/roles/jails/06_hommabot/tasks/main.yml +++ b/roles/jails/06_hommabot/tasks/main.yml @@ -3,14 +3,14 @@ tasks_from: jail_setup - name: Install hommabot from port - shell: cd /usr/local/my-ports/hommabot && make install + shell: cd /usr/ports/net-im/hommabot && make install WRKDIRPREFIX=/tmp/ports DISTDIR=/tmp/distfiles register: _hommabot_install - failed_when: "_hommabot_install.rc != 0 and 'already installed' not in _hommabot_install.stdout" - changed_when: "'already installed' not in _hommabot_install.stdout" + failed_when: "_hommabot_install.rc != 0" + changed_when: "'Installing hommabot' in _hommabot_install.stdout" - name: Deploy bot token file copy: - content: "{{ hommabot_token }}" + content: "{{ hommabot_telegram_bot_token }}" dest: /usr/local/etc/hommabot.token owner: root group: wheel |
