Try updating syntax here.
This commit is contained in:
parent
7e60bb96b0
commit
6b9c8d954a
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
with_items:
|
||||
- epel6.repo
|
||||
- rhel6.repo
|
||||
only_if: '$is_rhel'
|
||||
when: is_rhel == 'True'
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
@ -16,7 +16,7 @@
|
|||
- fedora.repo
|
||||
- fedora-updates.repo
|
||||
- fedora-updates-testing.repo
|
||||
only_if: "$is_fedora and '${ansible_architecture}'.startswith('x86_64')"
|
||||
when: is_fedora and {{ ansible_architecture }}.startswith('x86_64')
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
@ -27,7 +27,7 @@
|
|||
- fedora.repo
|
||||
- fedora-updates.repo
|
||||
- fedora-updates-testing.repo
|
||||
only_if: "$is_fedora and '${ansible_architecture}'.startswith('armv7l')"
|
||||
when: is_fedora and {{ ansible_architecture }}.startswith('armv7l')
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue