ipa/client: make mutually exclusive with old FAS way

The fas_client role and 2fa_client tasks are incompatible with the
ipa/client role, so mask them out for MBS and OSBS hosts in staging,
just as with the bugzilla2fedmsg and github2fedmsg group playbooks.

This will have to be done for all hosts, groups using the ipa/client
role.

Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
Nils Philippsen 2021-02-02 17:34:44 +01:00 committed by mobrien
parent 98edf2c159
commit ba73b7cb26
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -27,7 +27,7 @@
- rkhunter
- nagios_client
- hosts
- ipa/client
- { role: ipa/client, when: env == "staging" }
- { role: fas_client, when: env != "staging" }
- sudo
- collectd/base
@ -45,6 +45,7 @@
name: subscription-manager-rhsm-certificates
state: present
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
when: env != "staging"
- import_tasks: "{{ tasks_path }}/motd.yml"
handlers: