diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2024-02-08 13:30:28 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2024-02-08 13:33:36 +0100 |
commit | d5ba7d10131655fe6a01ba70bfd3926e7afd719e (patch) | |
tree | f1fe8d262d80a68edd61eee6aabde1f7eabdbe6a /roles/hostname | |
parent | 76af5e5e55fce3912608722cd5f774c215f34c1d (diff) | |
download | rules-d5ba7d10131655fe6a01ba70bfd3926e7afd719e.tar.gz |
feat(roles/hostname): synchronize hostname with inventory hostname
Diffstat (limited to 'roles/hostname')
-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 }}" |