ipa/client: stopgap for shell groups on bastion

Evaluating ipa_client_shell_group from another group won't work this
way. Hardcode the list until we have a better solution.

Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
Nils Philippsen 2021-03-24 23:47:04 +01:00
parent 5f8274ff6c
commit 72b940d31a

View file

@ -26,7 +26,42 @@ ipa_host_group: bastion
ipa_host_group_desc: Bastion hosts
# this assumes the `batcave` group exists with at least one host in it
batcave_ipa_client_shell_groups: "{{ hostvars[groups['batcave'][0]]['ipa_client_shell_groups'] | default([]) }}"
#batcave_ipa_client_shell_groups: "{{ hostvars[groups['batcave'][0]]['ipa_client_shell_groups'] | default([]) }}"
# Stopgap because the above doesn't work, needs to be in sync with what's actually set for the
# batcave group.
batcave_ipa_client_shell_groups:
- fi-apprentice
- sysadmin-ask
- sysadmin-atomic
- sysadmin-badges
- sysadmin-bot
- sysadmin-centos
- sysadmin-cloud
- sysadmin-copr
- sysadmin-coreos
- sysadmin-cvs
- sysadmin-datanommer
- sysadmin-debuginfod
- sysadmin-fedimg
- sysadmin-fpdc
- sysadmin-gnome
- sysadmin-hosted
- sysadmin-koschei
- sysadmin-libravatar
- sysadmin-mbs
- sysadmin-messaging
- sysadmin-noc
- sysadmin-odcs
- sysadmin-osbs
- sysadmin-qa
- sysadmin-releasemonitoring
- sysadmin-releng
- sysadmin-tools
- sysadmin-upstreamfirst
- sysadmin-veteran
- sysadmin-web
bastion_ipa_client_shell_groups:
- pungi-devel
- sysadmin-analysis