mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-12-01 00:06:21 +08:00
Move again the installing of koji pkg on db server
This commit is contained in:
@@ -9,7 +9,3 @@ eth0_ip: 10.5.124.148
|
||||
vmhost: virthost-comm02.qa.fedoraproject.org
|
||||
datacenter: phx2
|
||||
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:
|
||||
- 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
|
||||
command: service postgresql initdb
|
||||
creates=/var/lib/pgsql/data/postgresql.conf
|
||||
@@ -25,6 +31,7 @@
|
||||
- restart postgresql
|
||||
tags:
|
||||
- config
|
||||
only_if: '$is_kojidb'
|
||||
|
||||
- name: Set postgresql-server to run on boot
|
||||
service: name=postgresql enabled=yes
|
||||
|
||||
Reference in New Issue
Block a user