aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jails/06_hommabot/tasks/main.yml
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-06-06 22:52:57 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-06-06 22:52:57 +0300
commitfc1d79968a811c83f83429734c9adec14c46711b (patch)
treee456fda9ec491b35b28e91e2cdcdf1beff2e91b6 /roles/jails/06_hommabot/tasks/main.yml
parent224ef25da57b0957f190ca2e2e3bd0045792cdb8 (diff)
Work on jails
Diffstat (limited to 'roles/jails/06_hommabot/tasks/main.yml')
-rw-r--r--roles/jails/06_hommabot/tasks/main.yml8
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