diff options
Diffstat (limited to 'hostname.yml')
-rw-r--r-- | hostname.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hostname.yml b/hostname.yml new file mode 100644 index 00000000..b58a868d --- /dev/null +++ b/hostname.yml @@ -0,0 +1,11 @@ +--- +# This is a utility playbook for occasional fixing of hostnames on old +# servers. It is not intended to be run all the time, just on occasions. +# For new servers, ITS will make needed setup (and this playbook will +# become deprecated). +- hosts: all + gather_facts: no + become: yes + tasks: + - name: Set hostname + hostname: name={{inventory_hostname}} |