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