Fix: Ansible

This commit is contained in:
2025-07-09 05:04:19 +00:00
parent fc2ef36a0c
commit feb867fe28
3 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -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:

View File

@ -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