add ipa/client role to the rest of the playbookd for staging
This commit is contained in:
parent
4e33f7c5d7
commit
fdcd55c176
46 changed files with 79 additions and 34 deletions
|
@ -18,7 +18,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: hosts, when: env != "staging" }
|
||||
- sudo
|
||||
- collectd/base
|
||||
- { role: nfs/client,
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- fedmsg/base
|
||||
- sudo
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- badges/frontend
|
||||
- fedmsg/base
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- rsyncd
|
||||
- sudo
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- sudo
|
||||
- collectd/base
|
||||
- openvpn/server
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- sudo
|
||||
#- collectd/base
|
||||
#- { role: openvpn/server, when: not inventory_hostname.startswith('bastion-comm01') or inventory_hostname.startswith('bastion13') }
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- ansible-server
|
||||
- sudo
|
||||
- collectd/base
|
||||
|
|
|
@ -62,7 +62,8 @@
|
|||
- { role: clevis, when: "inventory_hostname.startswith(('bkernel', 'buildhw-x86'))" }
|
||||
- { role: serial-console, when: inventory_hostname.startswith('bkernel') }
|
||||
- hosts
|
||||
- { role: fas_client, when: not inventory_hostname.startswith('bkernel') }
|
||||
- { role: ipa/client, when: not inventory_hostname.startswith('bkernel') and env == "staging" }
|
||||
- { role: fas_client, when: not inventory_hostname.startswith('bkernel') and env != "staging" }
|
||||
- { role: sudo, when: not inventory_hostname.startswith('bkernel') }
|
||||
- role: keytab/service
|
||||
kt_location: /etc/kojid/kojid.keytab
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
nfs_src_dir: "{{ koji_hub_nfs }}",
|
||||
when: "env == 'staging' or createrepo or 'runroot' in group_names and not inventory_hostname.startswith('buildvm-s390x')",
|
||||
}
|
||||
- { role: ipa/client, when: not inventory_hostname.startswith('bkernel') and env == "staging" }
|
||||
- { role: fas_client, when: not inventory_hostname.startswith('bkernel') and env == 'production' }
|
||||
- { role: sudo, when: not inventory_hostname.startswith('bkernel') and env == 'production' }
|
||||
- koji_builder
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- sudo
|
||||
- collectd/base
|
||||
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
- hosts
|
||||
- rkhunter
|
||||
- nagios_client
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- collectd/bind
|
||||
- rsyncd
|
||||
|
|
|
@ -31,7 +31,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- apache
|
||||
- download
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- nagios_client
|
||||
- hosts
|
||||
- collectd/base
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- rsyncd
|
||||
- sudo
|
||||
- { role: openvpn/client,
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- sudo
|
||||
- collectd/base
|
||||
- gnome_backups
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- rsyncd
|
||||
- sudo
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- sudo
|
||||
- collectd/base
|
||||
- apache
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- apache
|
||||
- collectd/base
|
||||
- collectd/server
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- sudo
|
||||
- { role: openvpn/client,
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
- base
|
||||
- rkhunter
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- nagios_client
|
||||
- collectd/base
|
||||
- sudo
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- { role: rsyncd, when: datacenter == 'iad2' }
|
||||
- sudo
|
||||
|
|
|
@ -22,7 +22,8 @@
|
|||
- base
|
||||
- rkhunter
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- nagios_client
|
||||
- collectd/base
|
||||
- { role: fedmsg/base,
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- sudo
|
||||
- { role: openvpn/client,
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
- nagios_client
|
||||
- hosts
|
||||
- { role: fas_client, when: env != 'staging' }
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- collectd/base
|
||||
- rsyncd
|
||||
- sudo
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
|
||||
roles:
|
||||
- base
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- rkhunter
|
||||
- nagios_client
|
||||
- collectd/base
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- rsyncd
|
||||
- sudo
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- sudo
|
||||
- collectd/base
|
||||
- openvpn/client
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
- collectd/base
|
||||
- hosts
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- sudo
|
||||
|
||||
tasks:
|
||||
|
|
|
@ -59,7 +59,8 @@
|
|||
roles:
|
||||
- base
|
||||
- collectd/base
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- hosts
|
||||
- nagios_client
|
||||
- rkhunter
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- collectd/base
|
||||
- sudo
|
||||
- apache
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
- base
|
||||
- rkhunter
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- nagios_client
|
||||
- hosts
|
||||
- postgresql_server
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
roles:
|
||||
- base
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- { role: ipa/client, when: env == "staging" }/
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- rkhunter
|
||||
- nagios_client
|
||||
- { role: ec2_proxy,
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
- nagios_client
|
||||
- hosts
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- collectd/base
|
||||
# RabbitMQ statistics are cluster-wide, only collect them on one member
|
||||
- role: collectd/rabbitmq
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
- base
|
||||
- hosts
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- rkhunter
|
||||
- nagios_client
|
||||
- collectd/base
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
- { role: nagios_client, tags: ['nagios_client'] }
|
||||
- { role: hosts, tags: ['hosts']}
|
||||
- { role: fas_client, when: env != "staging", tags: ['fas_client'] }
|
||||
- { role: ipa/client, when: env == "staging", tags: ['ipa/client'] }
|
||||
- { role: collectd/base, tags: ['collectd_base'] }
|
||||
- { role: sudo, tags: ['sudo'] }
|
||||
- { role: openvpn/client,
|
||||
|
|
|
@ -64,7 +64,8 @@
|
|||
tasks:
|
||||
- import_role: name=base
|
||||
- import_role: name=hosts
|
||||
- import_role: name=fas_client
|
||||
- { import_role: name=ipa/client, when: env == "staging" }
|
||||
- { import_role: name=fas_client, when: env != "staging" }
|
||||
- import_role: name=rkhunter
|
||||
- import_role: name=nagios_client
|
||||
- import_role: name=openvpn/client
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- download
|
||||
- rsyncd
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
- base
|
||||
- rkhunter
|
||||
- hosts
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- sudo
|
||||
- nagios_client
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- sudo
|
||||
- { role: openvpn/client,
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- mod_wsgi
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- rsyncd
|
||||
- sudo
|
||||
- tang
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
- hosts
|
||||
- rkhunter
|
||||
- nagios_client
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- rsyncd
|
||||
- sudo
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- unbound
|
||||
- sudo
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
- nagios_client
|
||||
- hosts
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- collectd/base
|
||||
- apache
|
||||
- { role: fedmsg/base,
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- { role: fas_client, when: env != 'staging' }
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- { role: iscsi_client, when: "inventory_hostname.startswith(('bvirthost', 'buildvmhost-0'))" }
|
||||
- { role: iscsi_client, when: "inventory_hostname.startswith(('bvmhost-x86-06', 'bvmhost-x86-07')) and datacenter == 'iad2'" }
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- { role: ipa/client, when: env == "staging" }
|
||||
- { role: fas_client, when: env != "staging" }
|
||||
- collectd/base
|
||||
- apache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue