add basic grobisplitter items
This commit is contained in:
parent
7b58a639a2
commit
a84ca8e339
4 changed files with 74 additions and 9 deletions
22
inventory/host_vars/grobisplitter01.phx2.fedoraproject.org
Normal file
22
inventory/host_vars/grobisplitter01.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,22 @@
|
|||
nm: 255.255.255.0
|
||||
gw: 10.5.125.254
|
||||
dns: 10.5.126.21
|
||||
|
||||
#
|
||||
# These are 64bit
|
||||
#
|
||||
libdir: /usr/lib64
|
||||
|
||||
ks_url: http://10.5.126.23/repo/rhel/ks/buildvm-fedora-30
|
||||
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/30/Server/x86_64/os/
|
||||
virt_install_command: "{{ virt_install_command_one_nic }}"
|
||||
|
||||
lvm_size: 30000
|
||||
|
||||
volgroup: /dev/vg_guests
|
||||
eth0_ip: 10.5.125.3
|
||||
vmhost: bvirthost14.phx2.fedoraproject.org
|
||||
datacenter: phx2
|
||||
|
||||
fas_client_groups: sysadmin-releng,sysadmin-main
|
||||
|
|
@ -4,6 +4,9 @@ beaker01.qa.fedoraproject.org
|
|||
[beaker-stg]
|
||||
beaker-stg01.qa.fedoraproject.org
|
||||
|
||||
[grobisplitter]
|
||||
grobisplitter01.phx2.fedoraproject.org
|
||||
|
||||
[beaker-virthosts]
|
||||
|
||||
[qa-prod]
|
||||
|
|
49
playbooks/hosts/grobisplitter01.phx2.fedoraproject.org
Normal file
49
playbooks/hosts/grobisplitter01.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,49 @@
|
|||
# This is a basic playbook
|
||||
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=nagios"
|
||||
|
||||
- name: make the box be real
|
||||
hosts: nagios
|
||||
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
|
||||
- collectd/base
|
||||
- { role: rsyncd, when: datacenter == 'phx2' }
|
||||
- sudo
|
||||
- { role: openvpn/client,
|
||||
when: env != "staging" }
|
||||
- mod_wsgi
|
||||
- role: keytab/service
|
||||
owner_user: apache
|
||||
owner_group: apache
|
||||
service: HTTP
|
||||
host: "nagios{{env_suffix}}.fedoraproject.org"
|
||||
when: datacenter == 'phx2'
|
||||
- role: keytab/service
|
||||
owner_user: apache
|
||||
owner_group: apache
|
||||
service: HTTP
|
||||
host: "nagios-external{{env_suffix}}.fedoraproject.org"
|
||||
when: datacenter != 'phx2'
|
||||
|
||||
|
||||
tasks:
|
||||
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||
|
||||
handlers:
|
||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||
|
|
@ -12,15 +12,6 @@ subnet 10.5.125.0 netmask 255.255.255.0 {
|
|||
# option vendor-encapsulated-options 09:0f:80:00:0c:4e:65:74:77:6f:72:6b:20:62:6f:6f:74:0a:07:00:50:72:6f:6d:70:74:06:01:02:08:03:80:00:00:47:04:80:00:00:00:ff;
|
||||
|
||||
|
||||
host dhcp00 {
|
||||
hardware ethernet f0:1f:af:ce:31:31;
|
||||
fixed-address 10.5.125.3;
|
||||
next-server 10.5.126.41;
|
||||
option host-name "dhcp00";
|
||||
filename "pxelinux.0";
|
||||
}
|
||||
|
||||
|
||||
host sign-vault01 {
|
||||
hardware ethernet 00:1a:64:67:a3:38;
|
||||
fixed-address 10.5.125.70;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue