Fixed wrong usage of references
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user