Fix: Ansible
This commit is contained in:
@ -5,10 +5,10 @@
|
|||||||
# - A hostname/ip can be a member of multiple groups
|
# - A hostname/ip can be a member of multiple groups
|
||||||
|
|
||||||
[barker]
|
[barker]
|
||||||
pkl ansible_host=beacon var_file=vars/pkl.yml
|
pkl ansible_host=clair var_file=vars/pkl.yml
|
||||||
chd ansible_host=beacon var_file=vars/chd.yml
|
chd ansible_host=clair var_file=vars/chd.yml
|
||||||
mhl ansible_host=beacon var_file=vars/mhl.yml
|
mhl ansible_host=clair var_file=vars/mhl.yml
|
||||||
hin ansible_host=beacon var_file=vars/hin.yml
|
hin ansible_host=clair var_file=vars/hin.yml
|
||||||
|
|
||||||
[all:vars]
|
[all:vars]
|
||||||
ansible_python_interpreter=/usr/bin/python3
|
ansible_python_interpreter=/usr/bin/python3
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Read snippet from template file
|
- name: Read snippet from template file
|
||||||
set_fact:
|
set_fact:
|
||||||
snippet_block: "{{ lookup('files', 'Caddyfile.j2') }}"
|
snippet_block: "{{ lookup('template', 'files/Caddyfile.j2') }}"
|
||||||
|
|
||||||
- name: Read current Caddyfile
|
- name: Read current Caddyfile
|
||||||
ansible.builtin.slurp:
|
ansible.builtin.slurp:
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
---
|
---
|
||||||
# Tasks for Mosquitto role
|
- name: Ensure 'barker' Docker network exists
|
||||||
- name: Ensure 'iot' Docker network exists
|
|
||||||
docker_network:
|
docker_network:
|
||||||
name: "{{ docker_network }}"
|
name: "{{ docker_network }}"
|
||||||
state: present
|
state: present
|
||||||
|
|||||||
Reference in New Issue
Block a user