switched to ansible variable

This commit is contained in:
rene committed 2022-06-22 18:10:17 +02:00
1 parent 515ebcfab0
commit be7733bb8f
1 file changed
+1 -2
+1 -2
View File
@@ -1,4 +1,3 @@
- name: base | system_setup | hostname
hostname:
name: "{{ hostname }}"
when: hostname is defined
name: "{{ ansible_hostname }}"