diff options
author | 2024-07-21 09:59:56 +0100 | |
---|---|---|
committer | 2024-07-21 10:11:28 +0100 | |
commit | 1347fa6cd827eb71d67a239493608494dfd82e09 (patch) | |
tree | c1fef5686882e9d7cf95931fb7e16dc85cb225f7 | |
parent | Add ldap01 host to ldap group (diff) |
Set hostnames of hosts to FQDNs
Signed-off-by: Joe Banks <[email protected]>
-rw-r--r-- | ansible/roles/common/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/common/tasks/main.yml b/ansible/roles/common/tasks/main.yml index 5c7feaa..a5978c8 100644 --- a/ansible/roles/common/tasks/main.yml +++ b/ansible/roles/common/tasks/main.yml @@ -1,6 +1,6 @@ - name: Update hostname to match Ansible inventory hostname: - name: "{{ inventory_hostname }}" + name: "{{ ansible_host }}" tags: - role::common |