summaryrefslogtreecommitdiff
path: root/roles/flatbot/tasks
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2026-02-07 17:47:16 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2026-02-07 21:19:50 +0000
commitdfff28513622f659430ef064322cfa701513feb0 (patch)
tree2c9457db3635c3ee1f748ba5d21c5ba8e8538109 /roles/flatbot/tasks
parentf34ef9c98c3b24d170d178f381aaf8ed50b1c729 (diff)
downloadinfra-dfff28513622f659430ef064322cfa701513feb0.tar.gz
infra-dfff28513622f659430ef064322cfa701513feb0.tar.bz2
infra-dfff28513622f659430ef064322cfa701513feb0.zip
Add run-flatbot wrapper script
Goal is to keep all URLs in one place (file), because I forget to modify multiple files, when make changes.
Diffstat (limited to 'roles/flatbot/tasks')
-rw-r--r--roles/flatbot/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/flatbot/tasks/main.yml b/roles/flatbot/tasks/main.yml
index a15fab8..48d1083 100644
--- a/roles/flatbot/tasks/main.yml
+++ b/roles/flatbot/tasks/main.yml
@@ -34,6 +34,14 @@
group: root
mode: u+rw,g-r,o-r
+- name: Copy flatbot run wrapper
+ ansible.builtin.copy:
+ src: files/run-flatbot
+ dest: /usr/local/bin/run-flatbot
+ owner: root
+ group: root
+ mode: u+rwx,g+r,o+r
+
- name: Configure flatbot service
ansible.builtin.copy:
src: '{{ item }}'