Fixed wrong usage of references

This commit is contained in:
2024-10-18 02:51:24 +02:00
parent c341b3283a
commit 842c113af4
2 changed files with 6 additions and 8 deletions

View File

@@ -11,6 +11,10 @@
state: present
update_cache: true
- name: Set a hostname
ansible.builtin.hostname:
name: worker-{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}
- name: Install Docker
ansible.builtin.apt:
name: docker.io