Commit 0bfb061c authored by Simon Cornet's avatar Simon Cornet
Browse files

fix: hostname method

parent 1d5b447c
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
- name: "set hostname"
  ansible.builtin.hostname:
    name: "{{ set_hostname | default(inventory_hostname_short) }}"
    use: "{{ hostname_use_method | default(hostname_method_map[ansible_os_family]) }}"
    use: "{{ hostname_use_method }}"
  tags: "hostname"

# manage /etc/hosts