Use the .yaml file extension for all YAML files
This commit is contained in:
parent
9d0697f0d0
commit
1bcb77961b
60 changed files with 1 additions and 1 deletions
17
playbooks/roles/ola/tasks/main.yaml
Normal file
17
playbooks/roles/ola/tasks/main.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
- name: Install ola
|
||||
ansible.builtin.apt:
|
||||
name: ola
|
||||
- name: Ensure all given configuraton files are deployed
|
||||
ansible.builtin.copy:
|
||||
content: "{{ item.content }}"
|
||||
dest: /etc/ola/{{ item.name }}.conf
|
||||
mode: 0644
|
||||
owner: olad
|
||||
group: olad
|
||||
loop: "{{ ola__configs }}"
|
||||
notify: Restart olad
|
||||
- name: Enable and start ola service
|
||||
ansible.builtin.systemd:
|
||||
name: olad.service
|
||||
state: started
|
||||
enabled: true
|
Loading…
Add table
Add a link
Reference in a new issue