Make hostname module condition more clear

This commit is contained in:
Salt 2020-09-02 18:42:11 -05:00
parent 1633a0bc3e
commit 2b81b85ccb

View File

@ -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"