Rearrange conditionals

release_repo.status needs to be checked after distribution.
develop
Marcus Meurs 2018-12-07 23:35:32 +01:00
parent fd68894bad
commit b86bc4c73d
1 changed files with 1 additions and 1 deletions

View File

@ -19,9 +19,9 @@
setup: ~
when:
- release_repo.status == 404
- ansible_facts['distribution'] == "Ubuntu"
- ansible_facts['distribution_major_version'] == "18"
- release_repo.status == 404
- name: Add ZeroTier APT repository
apt_repository: