Move again the installing of koji pkg on db server

This commit is contained in:
Kevin Fenzi 2013-09-13 17:25:48 +00:00
parent e368591739
commit 63fa608bce
2 changed files with 7 additions and 4 deletions

View file

@ -9,7 +9,3 @@ eth0_ip: 10.5.124.148
vmhost: virthost-comm02.qa.fedoraproject.org vmhost: virthost-comm02.qa.fedoraproject.org
datacenter: phx2 datacenter: phx2
is_kojidb: True is_kojidb: True
# Install normal global packages + koji for db schema
global_pkgs_inst: ['koji', 'bind-utils', 'joe', 'mailx', 'nc', 'openssh-clients',
'patch', 'postfix', 'rsync', 'strace', 'telnet',
'tmpwatch', 'traceroute', 'vim-enhanced', 'xz', 'zsh' ]

View file

@ -12,6 +12,12 @@
tags: tags:
- packages - packages
- name: install koji package on koji db servers for schema
yum: name=koji state=installed
tags:
- packages
only_if: '$is_kojidb'
- name: initialize postgresql - name: initialize postgresql
command: service postgresql initdb command: service postgresql initdb
creates=/var/lib/pgsql/data/postgresql.conf creates=/var/lib/pgsql/data/postgresql.conf
@ -25,6 +31,7 @@
- restart postgresql - restart postgresql
tags: tags:
- config - config
only_if: '$is_kojidb'
- name: Set postgresql-server to run on boot - name: Set postgresql-server to run on boot
service: name=postgresql enabled=yes service: name=postgresql enabled=yes