Try changing that only_if to a when statement.
This commit is contained in:
parent
a25767a969
commit
1f79455783
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
- include: $tasks/motd.yml
|
||||
- include: $tasks/sudo.yml
|
||||
- include: $tasks/openvpn_client.yml
|
||||
only_if: "'$env' != 'staging'"
|
||||
when: env == "staging"
|
||||
- include: $tasks/fedmsg_base.yml
|
||||
- include: $tasks/apache.yml
|
||||
- include: $tasks/mod_wsgi.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue