mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-11-10 05:34:16 +00:00
23 lines
429 B
YAML
23 lines
429 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
|
|
mode: "0755"
|
|
|
|
- name: Deploy sygnal config
|
|
template:
|
|
src: sygnal.yml.j2
|
|
dest: "{{ sygnal_base_path }}/sygnal.yml"
|
|
owner: sygnal
|
|
group: sygnal
|
|
mode: "0600"
|
|
notify: restart-sygnal
|