Nuke some more only_if stragglers

This commit is contained in:
Kevin Fenzi 2013-11-25 19:10:22 +00:00
parent f0a29df52d
commit 4ea8fb7509
3 changed files with 9 additions and 9 deletions

View file

@ -9,7 +9,7 @@
postgresql_user: name=koji password=$aarch64kojidatabasepassword
tags:
- db
only_if: '$is_kojidb'
when: is_kojidb == "True"
#
# create a koji database if not already created
#
@ -17,7 +17,7 @@
postgresql_db: name=koji owner=koji encoding=UTF-8
tags:
- db
only_if: '$is_kojidb'
when: is_kojidb == "True"
#
# Load the initial schema and create a file to note that it's loaded now.
#
@ -25,5 +25,5 @@
shell: creates=/var/lib/pgql/koji-schema psql koji koji < /usr/share/doc/koji*/docs/schema.sql
tags:
- db
only_if: '$is_kojidb'
when: is_kojidb == "True"

View file

@ -16,7 +16,7 @@
yum: name=koji state=installed
tags:
- packages
only_if: '$is_kojidb'
when: is_kojidb == "True"
- name: initialize postgresql
command: service postgresql initdb
@ -31,7 +31,7 @@
- restart postgresql
tags:
- config
only_if: '$is_kojidb'
when: is_kojidb == "True"
- name: Set postgresql-server to run on boot
service: name=postgresql enabled=yes

View file

@ -191,25 +191,25 @@
- bodhi-releng01.phx2.fedoraproject.org.crt
tags:
- fedmsg
only_if: "'${inventory_hostname}'.startswith('releng01')"
when: inventory_hostname.startswith('releng01')
- name: fedmsg key
action: copy src=$private/files/fedmsg-certs/keys/$item dest=/etc/pki/fedmsg/$item mode=640 group=masher
with_items:
- bodhi-releng01.phx2.fedoraproject.org.key
tags:
- fedmsg
only_if: "'${inventory_hostname}'.startswith('releng01')"
when: inventory_hostname.startswith('releng01')
- name: fedmsg cert
action: copy src=$private/files/fedmsg-certs/keys/$item dest=/etc/pki/fedmsg/$item mode=644
with_items:
- bodhi-releng02.phx2.fedoraproject.org.crt
tags:
- fedmsg
only_if: "'${inventory_hostname}'.startswith('releng02')"
when: inventory_hostname.startswith('releng02')
- name: fedmsg key
action: copy src=$private/files/fedmsg-certs/keys/$item dest=/etc/pki/fedmsg/$item mode=640 group=masher
with_items:
- bodhi-releng02.phx2.fedoraproject.org.key
tags:
- fedmsg
only_if: "'${inventory_hostname}'.startswith('releng02')"
when: inventory_hostname.startswith('releng02')