diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/hostname/tasks/main.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/hostname/tasks/main.yml b/roles/hostname/tasks/main.yml new file mode 100644 index 0000000..d35a1f8 --- /dev/null +++ b/roles/hostname/tasks/main.yml @@ -0,0 +1,5 @@ +--- + +- name: synchronize system hostname with inventory hostname + ansible.builtin.hostname: + name: "{{ inventory_hostname }}" |