Rearrange conditionals
release_repo.status needs to be checked after distribution.develop
parent
fd68894bad
commit
b86bc4c73d
|
|
@ -19,9 +19,9 @@
|
||||||
setup: ~
|
setup: ~
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- release_repo.status == 404
|
|
||||||
- ansible_facts['distribution'] == "Ubuntu"
|
- ansible_facts['distribution'] == "Ubuntu"
|
||||||
- ansible_facts['distribution_major_version'] == "18"
|
- ansible_facts['distribution_major_version'] == "18"
|
||||||
|
- release_repo.status == 404
|
||||||
|
|
||||||
- name: Add ZeroTier APT repository
|
- name: Add ZeroTier APT repository
|
||||||
apt_repository:
|
apt_repository:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue