15 lines
No EOL
463 B
YAML
15 lines
No EOL
463 B
YAML
- name: Set common facts
|
|
ansible.builtin.include_tasks: "{{ tasks_dir }}/set-default-facts.yml"
|
|
|
|
- name: Create config.d directory
|
|
ansible.builtin.file:
|
|
path: "{{ argus_confd_path }}"
|
|
state: directory
|
|
mode: "0755"
|
|
|
|
- name: Create service config
|
|
ansible.builtin.copy:
|
|
dest: "{{ (argus_confd_path, argus_service_name + '.yml') | path_join }}"
|
|
content: "{{ argus_service_ver | to_nice_yaml }}"
|
|
mode: "0644"
|
|
notify: Merge argus configs |