- import_role: name: jail tasks_from: jail_setup - name: Install hommabot from port shell: cd /usr/ports/net-im/hommabot && make install WRKDIRPREFIX=/tmp/ports DISTDIR=/tmp/distfiles register: _hommabot_install failed_when: "_hommabot_install.rc != 0" changed_when: "'Installing hommabot' in _hommabot_install.stdout" - name: Deploy bot token file copy: content: "{{ hommabot_telegram_bot_token }}" dest: /usr/local/etc/hommabot.token owner: root group: wheel mode: "0600" no_log: true notify: Restart hommabot - import_role: name: jail tasks_from: jail_launch