- name: Step 00xxxxx post software hosts: support gather_facts: False become: yes tasks: - debug: msg: "Post-Software tasks Started" - name: Step lab post software deployment hosts: bastions gather_facts: False become: yes tags: - opentlc_bastion_tasks tasks: - when: install_ipa_client | bool name: Install IPA Clinet on bastions import_role: name: "bastion-opentlc-ipa" - when: install_ipa_client | bool name: Restart IPA related services service: name: "{{ service }}" state: restarted 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 connection: local gather_facts: false become: false tags: - post_flight_check tasks: - debug: msg: "Post-Software checks completed successfully"