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 - rkhunter
- nagios_client - nagios_client
- hosts - hosts
- fas_client - { role: ipa/client, when: env == "staging" }
- { role: hosts, when: env != "staging" }
- sudo - sudo
- collectd/base - collectd/base
- { role: nfs/client, - { role: nfs/client,

View file

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

View file

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

View file

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

View file

@ -15,7 +15,8 @@
- rkhunter - rkhunter
- nagios_client - nagios_client
- hosts - hosts
- fas_client - { role: ipa/client, when: env == "staging" }
- { role: fas_client, when: env != "staging" }
- sudo - sudo
- collectd/base - collectd/base
- openvpn/server - openvpn/server

View file

@ -15,7 +15,8 @@
- rkhunter - rkhunter
- nagios_client - nagios_client
- hosts - hosts
- fas_client - { role: ipa/client, when: env == "staging" }
- { role: fas_client, when: env != "staging" }
- sudo - sudo
#- collectd/base #- collectd/base
#- { role: openvpn/server, when: not inventory_hostname.startswith('bastion-comm01') or inventory_hostname.startswith('bastion13') } #- { role: openvpn/server, when: not inventory_hostname.startswith('bastion-comm01') or inventory_hostname.startswith('bastion13') }

View file

@ -15,7 +15,8 @@
- rkhunter - rkhunter
- nagios_client - nagios_client
- hosts - hosts
- fas_client - { role: ipa/client, when: env == "staging" }
- { role: fas_client, when: env != "staging" }
- ansible-server - ansible-server
- sudo - sudo
- collectd/base - collectd/base

View file

@ -62,7 +62,8 @@
- { role: clevis, when: "inventory_hostname.startswith(('bkernel', 'buildhw-x86'))" } - { role: clevis, when: "inventory_hostname.startswith(('bkernel', 'buildhw-x86'))" }
- { role: serial-console, when: inventory_hostname.startswith('bkernel') } - { role: serial-console, when: inventory_hostname.startswith('bkernel') }
- hosts - 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: sudo, when: not inventory_hostname.startswith('bkernel') }
- role: keytab/service - role: keytab/service
kt_location: /etc/kojid/kojid.keytab kt_location: /etc/kojid/kojid.keytab

View file

@ -29,6 +29,7 @@
nfs_src_dir: "{{ koji_hub_nfs }}", nfs_src_dir: "{{ koji_hub_nfs }}",
when: "env == 'staging' or createrepo or 'runroot' in group_names and not inventory_hostname.startswith('buildvm-s390x')", 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: fas_client, when: not inventory_hostname.startswith('bkernel') and env == 'production' }
- { role: sudo, when: not inventory_hostname.startswith('bkernel') and env == 'production' } - { role: sudo, when: not inventory_hostname.startswith('bkernel') and env == 'production' }
- koji_builder - koji_builder

View file

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

View file

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

View file

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

View file

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

View file

@ -15,7 +15,8 @@
- rkhunter - rkhunter
- nagios_client - nagios_client
- hosts - hosts
- fas_client - { role: ipa/client, when: env == "staging" }
- { role: fas_client, when: env != "staging" }
- rsyncd - rsyncd
- sudo - sudo
- { role: openvpn/client, - { role: openvpn/client,

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -19,7 +19,8 @@
- rkhunter - rkhunter
- nagios_client - nagios_client
- hosts - hosts
- fas_client - { role: ipa/client, when: env == "staging" }
- { role: fas_client, when: env != "staging" }
- collectd/base - collectd/base
- { role: rsyncd, when: datacenter == 'iad2' } - { role: rsyncd, when: datacenter == 'iad2' }
- sudo - sudo

View file

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

View file

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

View file

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

View file

@ -18,7 +18,8 @@
roles: roles:
- base - base
- fas_client - { role: ipa/client, when: env == "staging" }
- { role: fas_client, when: env != "staging" }
- rkhunter - rkhunter
- nagios_client - nagios_client
- collectd/base - collectd/base

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -19,7 +19,7 @@
roles: roles:
- base - base
- { role: fas_client, when: env != "staging" } - { role: fas_client, when: env != "staging" }
- { role: ipa/client, when: env == "staging" }/ - { role: ipa/client, when: env == "staging" }
- rkhunter - rkhunter
- nagios_client - nagios_client
- { role: ec2_proxy, - { role: ec2_proxy,

View file

@ -19,6 +19,7 @@
- nagios_client - nagios_client
- hosts - hosts
- { role: fas_client, when: env != "staging" } - { role: fas_client, when: env != "staging" }
- { role: ipa/client, when: env == "staging" }
- collectd/base - collectd/base
# RabbitMQ statistics are cluster-wide, only collect them on one member # RabbitMQ statistics are cluster-wide, only collect them on one member
- role: collectd/rabbitmq - role: collectd/rabbitmq

View file

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

View file

@ -24,6 +24,7 @@
- { role: nagios_client, tags: ['nagios_client'] } - { role: nagios_client, tags: ['nagios_client'] }
- { role: hosts, tags: ['hosts']} - { role: hosts, tags: ['hosts']}
- { role: fas_client, when: env != "staging", tags: ['fas_client'] } - { 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: collectd/base, tags: ['collectd_base'] }
- { role: sudo, tags: ['sudo'] } - { role: sudo, tags: ['sudo'] }
- { role: openvpn/client, - { role: openvpn/client,

View file

@ -64,7 +64,8 @@
tasks: tasks:
- import_role: name=base - import_role: name=base
- import_role: name=hosts - 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=rkhunter
- import_role: name=nagios_client - import_role: name=nagios_client
- import_role: name=openvpn/client - import_role: name=openvpn/client

View file

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

View file

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

View file

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

View file

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

View file

@ -18,7 +18,8 @@
- rkhunter - rkhunter
- nagios_client - nagios_client
- hosts - hosts
- fas_client - { role: ipa/client, when: env == "staging" }
- { role: fas_client, when: env != "staging" }
- rsyncd - rsyncd
- sudo - sudo
- tang - tang

View file

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

View file

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

View file

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

View file

@ -23,7 +23,8 @@
- rkhunter - rkhunter
- nagios_client - nagios_client
- hosts - hosts
- { role: fas_client, when: env != 'staging' } - { role: ipa/client, when: env == "staging" }
- { role: fas_client, when: env != "staging" }
- collectd/base - collectd/base
- { role: iscsi_client, when: "inventory_hostname.startswith(('bvirthost', 'buildvmhost-0'))" } - { 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'" } - { role: iscsi_client, when: "inventory_hostname.startswith(('bvmhost-x86-06', 'bvmhost-x86-07')) and datacenter == 'iad2'" }

View file

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