Make hostname module condition more clear
This commit is contained in:
parent
1633a0bc3e
commit
2b81b85ccb
@ -16,7 +16,7 @@
|
||||
- name: Set hostname
|
||||
hostname:
|
||||
name: "{{ inventory_hostname }}"
|
||||
when: ansible_distribution != "Postmarketos"
|
||||
when: ansible_distribution == "Ubuntu"
|
||||
- name: Set timezone
|
||||
timezone:
|
||||
name: "America/Chicago"
|
||||
|
Loading…
Reference in New Issue
Block a user