Create hosted01 rhel7 instance that we will be migrating hosted03 (rhel6) to.

This commit is contained in:
Kevin Fenzi 2015-12-04 19:08:36 +00:00
parent 2dd2ada538
commit aa8770ac15
4 changed files with 82 additions and 0 deletions

View file

@ -0,0 +1,36 @@
---
# Define resources for this group of hosts here.
lvm_size: 250000
mem_size: 8192
num_cpus: 4
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 22, 25, 80, 443 ]
fas_client_groups: sysadmin-noc,sysadmin-web,fi-apprentice
freezes: false
postfix_group: vpn
# Configuration for the git-daemon/server
git_group: git
git_port: 9418
git_server: /usr/libexec/git-core/git-daemon
git_server_args: --export-all --syslog --inetd --verbose
git_basepath: /srv/git/
git_daemon_user: git
# For the MOTD
csi_security_category: Low
csi_primary_contact: Fedora admins - admin@fedoraproject.org
csi_purpose: Run the fedorahosted.org instances
csi_relationship: |
There are a few things running here:
- Apache to service cgit and other content
- Git repos
- This host is not yet in service.

View file

@ -0,0 +1,14 @@
---
nm: 255.255.255.128
gw: 140.211.169.193
dns: 8.8.8.8
ks_url: http://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-7-ext
ks_repo: http://infrastructure.fedoraproject.org/repo/rhel/RHEL7-x86_64/
volgroup: /dev/vg_guests
eth0_ip: 140.211.169.207
vmhost: osuosl03.fedoraproject.org
datacenter: osuosl

View file

@ -313,6 +313,9 @@ fas03.phx2.fedoraproject.org
[fas-stg]
fas01.stg.phx2.fedoraproject.org
[newhosted]
hosted01.fedoraproject.org
[hosted]
hosted03.fedoraproject.org
hosted-lists01.fedoraproject.org

View file

@ -0,0 +1,29 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=newhosted"
- name: make the boxen be real for real
hosts: newhosted
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:
- base
- rkhunter
- nagios_client
- hosts
- fas_client
- sudo
- collectd/base
- openvpn/client
tasks:
- include: "{{ tasks }}/yumrepos.yml"
- include: "{{ tasks }}/2fa_client.yml"
- include: "{{ tasks }}/motd.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"