Update a number of only_if conditionals.

This commit is contained in:
Ralph Bean 2013-09-26 14:57:26 +00:00
parent e2f1495aa9
commit 2d9a800f30
3 changed files with 6 additions and 6 deletions

View file

@ -43,7 +43,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
handlers:

View file

@ -44,7 +44,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

View file

@ -63,7 +63,7 @@
mode=700
owner=fedmsg
group=fedmsg
only_if: "'$env' != 'staging'"
when: env != "staging"
tags:
- config
- cron
@ -74,7 +74,7 @@
path=$item
mode=755
owner=root
only_if: "'$env' != 'staging'"
when: env != "staging"
with_items:
- /usr/share/badges/cronjobs/
- /etc/cron.d/
@ -88,7 +88,7 @@
dest=/usr/share/badges/cronjobs/$item
owner=fedmsg
mode=744
only_if: "'$env' != 'staging'"
when: env != "staging"
with_items:
- award-oldschool-badges
- award-libravatar-badge
@ -102,7 +102,7 @@
dest=/etc/cron.d/$item
owner=root
mode=644
only_if: "'$env' != 'staging'"
when: env != "staging"
with_items:
- award-oldschool-badges
- award-libravatar-badge