Skip to content

Commit

Permalink
Work around for oddjobd needing messagebus service restart (redhat-co…
Browse files Browse the repository at this point in the history
  • Loading branch information
tonykay authored Feb 17, 2020
1 parent 5c7667b commit 454171b
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions ansible/configs/three-tier-app/post_software.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 454171b

Please sign in to comment.