generated from ansible/desktop
check for the distribution name
This commit is contained in:
parent
edef116519
commit
3293d7c822
|
@ -4,7 +4,7 @@
|
|||
state: "present"
|
||||
when:
|
||||
- ansible_facts['distribution_major_version'] | int >= 20
|
||||
- ansible_facts['os_family'] == "Ubuntu"
|
||||
- ansible_facts['distribution'] == "Ubuntu"
|
||||
|
||||
- name: "Upgrade to the latest packages"
|
||||
apt:
|
||||
|
|
Reference in New Issue