Move again the installing of koji pkg on db server
This commit is contained in:
parent
e368591739
commit
63fa608bce
2 changed files with 7 additions and 4 deletions
|
@ -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' ]
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue