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