dbgserver: setup stg server (ticket 7943)
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
f9c1e051ba
commit
72c7441cee
5 changed files with 63 additions and 1 deletions
|
@ -23,7 +23,7 @@ custom_rules: [
|
|||
|
||||
# TODO - remove modularity-wg membership here once it is not longer needed:
|
||||
# https://fedorahosted.org/fedora-infrastructure/ticket/5363
|
||||
fas_client_groups: sysadmin-ask,sysadmin-atomic,sysadmin-web,sysadmin-main,sysadmin-cvs,sysadmin-noc,sysadmin-releng,sysadmin-dba,sysadmin-hosted,sysadmin-tools,sysadmin-spin,sysadmin-cloud,fi-apprentice,sysadmin-badges,sysadmin-troubleshoot,sysadmin-qa,sysadmin-centos,sysadmin-ppc,sysadmin-koschei,sysadmin-secondary,sysadmin-fedimg,sysadmin-veteran,sysadmin-mbs,modularity-wg,pungi-devel,sysadmin-upstreamfirst,sysadmin-releasemonitoring,sysadmin-gnome,sysadmin-copr,sysadmin-coreos
|
||||
fas_client_groups: sysadmin-ask,sysadmin-atomic,sysadmin-web,sysadmin-main,sysadmin-cvs,sysadmin-noc,sysadmin-releng,sysadmin-dba,sysadmin-hosted,sysadmin-tools,sysadmin-spin,sysadmin-cloud,fi-apprentice,sysadmin-badges,sysadmin-troubleshoot,sysadmin-qa,sysadmin-centos,sysadmin-ppc,sysadmin-koschei,sysadmin-secondary,sysadmin-fedimg,sysadmin-veteran,sysadmin-mbs,modularity-wg,pungi-devel,sysadmin-upstreamfirst,sysadmin-releasemonitoring,sysadmin-gnome,sysadmin-copr,sysadmin-coreos,sysadmin-dbgserver
|
||||
|
||||
#
|
||||
# This is a postfix gateway. This will pick up gateway postfix config in base
|
||||
|
|
24
inventory/host_vars/dbgserver01.stg.phx2.fedoraproject.org
Normal file
24
inventory/host_vars/dbgserver01.stg.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.5.128.254
|
||||
dns: 10.5.126.21
|
||||
|
||||
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-30
|
||||
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/30/Server/x86_64/os/
|
||||
|
||||
volgroup: /dev/vg_guests
|
||||
eth0_ip: 10.5.128.57
|
||||
eth1_ip: 10.5.127.246
|
||||
vmhost: virthost01.stg.phx2.fedoraproject.org
|
||||
datacenter: phx2
|
||||
|
||||
lvm_size: 20000
|
||||
mem_size: 4096
|
||||
num_cpus: 4
|
||||
freezes: false
|
||||
|
||||
fas_client_groups: sysadmin-noc,sysadmin-web,sysadmin-veteran,sysadmin-dgbserver
|
||||
|
||||
virt_install_command: "{{ virt_install_command_two_nic }}
|
||||
|
||||
sudoers: "{{ private }}/files/sudo/dbgserver-sudoers"
|
|
@ -4,6 +4,9 @@ beaker01.qa.fedoraproject.org
|
|||
[beaker_stg]
|
||||
beaker-stg01.qa.fedoraproject.org
|
||||
|
||||
[dbgserver_stg]
|
||||
dbgserver01.stg.phx2.fedoraproject.org
|
||||
|
||||
[grobisplitter]
|
||||
grobisplitter01.phx2.fedoraproject.org
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
- import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-frontend-cloud.yml
|
||||
- import_playbook: /srv/web/infra/ansible/playbooks/groups/copr-keygen.yml
|
||||
- import_playbook: /srv/web/infra/ansible/playbooks/groups/datagrepper.yml
|
||||
- import_playbook: /srv/web/infra/ansible/playbooks/groups/dbgserver.yml
|
||||
- import_playbook: /srv/web/infra/ansible/playbooks/groups/oci-registry.yml
|
||||
- import_playbook: /srv/web/infra/ansible/playbooks/groups/dns.yml
|
||||
- import_playbook: /srv/web/infra/ansible/playbooks/groups/download.yml
|
||||
|
|
34
playbooks/groups/dbgserver.yml
Normal file
34
playbooks/groups/dbgserver.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=dbgserver_stg"
|
||||
|
||||
- name: make the box be real
|
||||
hosts: dbgserver_stg
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
pre_tasks:
|
||||
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||
|
||||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- sudo
|
||||
- collectd/base
|
||||
|
||||
- role: nfs/client
|
||||
mnt_dir: '/mnt/fedora_koji_prod'
|
||||
nfs_src_dir: "fedora_koji"
|
||||
|
||||
tasks:
|
||||
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||
|
||||
handlers:
|
||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
Loading…
Add table
Add a link
Reference in a new issue