diff --git a/ansible/configs/three-tier-app/post_software.yml b/ansible/configs/three-tier-app/post_software.yml index b9d822fe182..925cb50c59f 100644 --- a/ansible/configs/three-tier-app/post_software.yml +++ b/ansible/configs/three-tier-app/post_software.yml @@ -12,17 +12,25 @@ become: yes tags: - opentlc_bastion_tasks + tasks: - - import_role: + + - when: install_ipa_client | bool + name: Install IPA Clinet on bastions + import_role: name: "bastion-opentlc-ipa" - when: install_ipa_client|bool - # sssd bug, fixed by restart - - name: restart sssd + - when: install_ipa_client | bool + name: Restart IPA related services service: - name: sssd + name: "{{ service }}" state: restarted - when: install_ipa_client + loop: + - sssd # sssd bug, fixed by restart + - messagebus # oddjobd failing without messagebus restart + - oddjobd + loop_control: + loop_var: service - name: PostSoftware flight-check hosts: localhost