add ipa/client role to the rest of the playbookd for staging

This commit is contained in:
Mark O'Brien 2021-02-12 12:42:38 +00:00 committed by nphilipp
parent 4e33f7c5d7
commit fdcd55c176
46 changed files with 79 additions and 34 deletions

View file

@ -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,

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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') }

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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,

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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,

View file

@ -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

View file

@ -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

View file

@ -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,

View file

@ -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,

View file

@ -17,6 +17,7 @@
- nagios_client
- hosts
- { role: fas_client, when: env != 'staging' }
- { role: ipa/client, when: env == "staging" }
- collectd/base
- rsyncd
- sudo

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -23,6 +23,7 @@
- collectd/base
- hosts
- { role: fas_client, when: env != "staging" }
- { role: ipa/client, when: env == "staging" }
- sudo
tasks:

View file

@ -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

View file

@ -16,6 +16,7 @@
- rkhunter
- nagios_client
- { role: fas_client, when: env != "staging" }
- { role: ipa/client, when: env == "staging" }
- collectd/base
- sudo
- apache

View file

@ -24,6 +24,7 @@
- base
- rkhunter
- { role: fas_client, when: env != "staging" }
- { role: ipa/client, when: env == "staging" }
- nagios_client
- hosts
- postgresql_server

View file

@ -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,

View file

@ -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

View file

@ -24,6 +24,7 @@
- base
- hosts
- { role: fas_client, when: env != "staging" }
- { role: ipa/client, when: env == "staging" }
- rkhunter
- nagios_client
- collectd/base

View file

@ -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,

View file

@ -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

View file

@ -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

View file

@ -22,6 +22,7 @@
- base
- rkhunter
- hosts
- { role: ipa/client, when: env == "staging" }
- { role: fas_client, when: env != "staging" }
- sudo
- nagios_client

View file

@ -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,

View file

@ -20,6 +20,7 @@
- rkhunter
- nagios_client
- hosts
- { role: ipa/client, when: env == "staging" }
- { role: fas_client, when: env != "staging" }
- collectd/base
- mod_wsgi

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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,

View file

@ -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'" }

View file

@ -23,6 +23,7 @@
- rkhunter
- nagios_client
- hosts
- { role: ipa/client, when: env == "staging" }
- { role: fas_client, when: env != "staging" }
- collectd/base
- apache