Add mailman01/02 to production.
This commit is contained in:
parent
51024371d3
commit
e5aad94914
5 changed files with 57 additions and 4 deletions
29
inventory/group_vars/mailman
Normal file
29
inventory/group_vars/mailman
Normal file
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
# common items for the releng-* boxes
|
||||
lvm_size: 250000
|
||||
mem_size: 4096
|
||||
num_cpus: 2
|
||||
# for systems that do not match the above - specify the same parameter in
|
||||
# the host_vars/$hostname file
|
||||
|
||||
tcp_ports: [ 25, 80, 443 ]
|
||||
fas_client_groups: sysadmin-tools,sysadmin-main
|
||||
|
||||
# These are consumed by a task in roles/fedmsg_base/main.yml
|
||||
fedmsg_certs:
|
||||
- service: shell
|
||||
owner: root
|
||||
group: sysadmin
|
||||
- service: mailman
|
||||
owner: mailman
|
||||
group: mailman
|
||||
|
||||
# default virt install command is for a single nic-device
|
||||
# define in another group file for more nics (see buildvm)
|
||||
virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
|
||||
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
||||
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
|
||||
"ksdevice=eth0 ks={{ ks_url }} ip={{ eth0_ip }} netmask={{ nm }}
|
||||
gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0
|
||||
hostname={{ inventory_hostname }}"
|
||||
--network=bridge=br0 --autostart --noautoconsole
|
10
inventory/host_vars/mailman01.phx2.fedoraproject.org
Normal file
10
inventory/host_vars/mailman01.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.5.126.254
|
||||
dns: 10.5.126.21
|
||||
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-19
|
||||
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/19/Fedora/x86_64/os/
|
||||
volgroup: /dev/vg_guests
|
||||
eth0_ip: 10.5.126.36
|
||||
vmhost: virthost08.phx2.fedoraproject.org
|
||||
datacenter: phx2
|
10
inventory/host_vars/mailman02.phx2.fedoraproject.org
Normal file
10
inventory/host_vars/mailman02.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.5.126.254
|
||||
dns: 10.5.126.21
|
||||
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-19
|
||||
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/19/Fedora/x86_64/os/
|
||||
volgroup: /dev/vg_guests00
|
||||
eth0_ip: 10.5.126.37
|
||||
vmhost: virthost07.phx2.fedoraproject.org
|
||||
datacenter: phx2
|
|
@ -146,6 +146,10 @@ fedocal01.stg.phx2.fedoraproject.org
|
|||
[gallery-stg]
|
||||
gallery01.stg.phx2.fedoraproject.org
|
||||
|
||||
[mailman]
|
||||
mailman01.phx2.fedoraproject.org
|
||||
mailman02.phx2.fedoraproject.org
|
||||
|
||||
[mailman-stg]
|
||||
mailman01.stg.phx2.fedoraproject.org
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
|
||||
|
||||
- name: make mailman server
|
||||
hosts: mailman-stg
|
||||
hosts: mailman-stg:mailman
|
||||
user: root
|
||||
gather_facts: False
|
||||
accelerate: True
|
||||
|
@ -21,7 +21,7 @@
|
|||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
||||
- name: make the box be real
|
||||
hosts: mailman-stg
|
||||
hosts: mailman-stg:mailman
|
||||
user: root
|
||||
gather_facts: True
|
||||
accelerate: True
|
||||
|
@ -56,7 +56,7 @@
|
|||
|
||||
# Database setup
|
||||
- name: setup the database
|
||||
hosts: db02.stg.phx2.fedoraproject.org
|
||||
hosts: db02.stg.phx2.fedoraproject.org:db01.phx2.fedoraproject.org
|
||||
gather_facts: no
|
||||
sudo: yes
|
||||
sudo_user: postgres
|
||||
|
@ -87,7 +87,7 @@
|
|||
|
||||
# Real MM/HK-specific work
|
||||
- name: setup mailman and hyperkitty
|
||||
hosts: mailman-stg
|
||||
hosts: mailman-stg:mailman
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue