aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jails/06_hommabot/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/jails/06_hommabot/tasks/main.yml')
-rw-r--r--roles/jails/06_hommabot/tasks/main.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/roles/jails/06_hommabot/tasks/main.yml b/roles/jails/06_hommabot/tasks/main.yml
index d19beb1..b3c4481 100644
--- a/roles/jails/06_hommabot/tasks/main.yml
+++ b/roles/jails/06_hommabot/tasks/main.yml
@@ -2,11 +2,10 @@
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
+- name: Install hommabot
+ shell: pkg install -y -r poudriere hommabot
register: _hommabot_install
- failed_when: "_hommabot_install.rc != 0"
- changed_when: "'Installing hommabot' in _hommabot_install.stdout"
+ changed_when: "'Installing' in _hommabot_install.stdout"
- name: Deploy bot token file
copy: