add ci host in cc rdu

This commit is contained in:
Kevin Fenzi 2017-05-10 17:08:29 +00:00
parent 5f87c6e08d
commit 994621619e
3 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,14 @@
---
nrpe_procs_warn: 900
nrpe_procs_crit: 1000
datacenter: rdu-cc
eth0_ip: 8.43.85.69
eth0_nm: 255.255.255.0
gw: 8.43.85.254
dns: 8.8.8.8
postfix_group: vpn
vpn: true
volgroup: /dev/vg_guests
vmhost: virthost-cc-rdu01.fedoraproject.org
ks_url: http://10.5.126.23/repo/rhel/ks/buildvm-fedora-25
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/25/Server/x86_64/os/

View file

@ -1341,6 +1341,8 @@ osbs-node02.stg.phx2.fedoraproject.org
#[os-node-stg]
#os-node01.stg.phx2.fedoraproject.org
#os-node02.stg.phx2.fedoraproject.org
[ci]
ci-cc-rdu01.fedoraproject.org
# Docker (docker-distribution) registries
[docker-registry]

39
playbooks/groups/ci.yml Normal file
View file

@ -0,0 +1,39 @@
---
# create a new taskotron dev server
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=ci-cc-rdu01.fedoraproject.org"
- name: make the box be real
hosts: ci
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
roles:
- { role: base, tags: ['base'] }
- { role: rkhunter, tags: ['rkhunter'] }
- { role: nagios_client, tags: ['nagios_client'] }
- { role: hosts, tags: ['hosts']}
- { role: fas_client, tags: ['fas_client'] }
- { role: collectd/base, tags: ['collectd_base'] }
- { role: dnf-automatic, tags: ['dnfautomatic'] }
- { role: sudo, tags: ['sudo'] }
- { role: openvpn/client,
when: deployment_type == "prod", tags: ['openvpn_client'] }
- apache
- { role: fedmsg/base }
tasks:
# this is how you include other task lists
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"
- include: "{{ tasks_path }}/motd.yml"
handlers:
- include: "{{ handlers_path }}/restart_services.yml"