ansible-collection-famedly-.../roles/sygnal/tasks/configure.yml
2021-10-26 11:15:15 +02:00

20 lines
370 B
YAML

---
- name: create_user
user:
name: sygnal
state: present
register: sygnal_user
- name: create base directory
file:
path: "{{ sygnal_base_path }}"
state: directory
owner: sygnal
group: sygnal
- name: deploy sygnal config
template:
src: sygnal.yml.j2
dest: "{{ sygnal_base_path }}/sygnal.yml"
owner: sygnal
group: sygnal