yuri
33d1cfca1f
Move become: true into zigbee2mqtt role Remove become: true from deploy_public_reverse_proxy playbook Remove become: true from deploy_dokuwiki playbook Move become: true from deploy_audio_pi and deploy_light playbooks into roles Remove become: true from deploy_keycloak playbook Move become: true from deploy_automation playbook to mosquitto role
22 lines
483 B
YAML
22 lines
483 B
YAML
- name: Install ola
|
|
become: true
|
|
ansible.builtin.apt:
|
|
name: ola
|
|
|
|
- name: Ensure all given configuraton files are deployed
|
|
become: true
|
|
ansible.builtin.copy:
|
|
content: "{{ item.content }}"
|
|
dest: /etc/ola/{{ item.name }}.conf
|
|
mode: "644"
|
|
owner: olad
|
|
group: olad
|
|
loop: "{{ ola__configs }}"
|
|
notify: Restart olad
|
|
|
|
- name: Enable and start ola service
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
name: olad.service
|
|
state: started
|
|
enabled: true
|