mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-12-13 20:52:28 +00:00
20 lines
370 B
YAML
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
|