initial pfannkuchen
This commit is contained in:
parent
b6dafc7a73
commit
4d305fa19f
99 changed files with 3575 additions and 321 deletions
19
roles/hawser/tasks/main.yml
Normal file
19
roles/hawser/tasks/main.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
- name: Hawser installieren (offizielles Install-Script)
|
||||
ansible.builtin.shell:
|
||||
cmd: curl -fsSL https://raw.githubusercontent.com/Finsys/hawser/main/scripts/install.sh | bash
|
||||
creates: /usr/local/bin/hawser
|
||||
|
||||
- name: Hawser Token in Config setzen
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/hawser/config
|
||||
regexp: '^TOKEN='
|
||||
line: "TOKEN={{ vault_hawser_token }}"
|
||||
notify: restart hawser
|
||||
|
||||
- name: Hawser aktivieren und starten
|
||||
ansible.builtin.systemd:
|
||||
name: hawser
|
||||
enabled: true
|
||||
state: started
|
||||
daemon_reload: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue