Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible 2.8 compatibility #9

Merged
merged 9 commits into from
Dec 11, 2020

Conversation

tobias-richter
Copy link
Contributor

@tobias-richter tobias-richter commented Dec 4, 2020

This PR makes the role compatible with Ansible 2.8+.
The main issue with Ansible 2.8+ is that the implemented restart mechanisms in the roles

  • wcm_io_devops.conga_files
  • wcm_io_devops.conga_bundle_files
  • wcm_io_devops.conga_aem_packages

have stopped working.

Basically this PR changes the restart logic of the role and moves it from handlers to explicit restarts.

This PR depends on the following PRs from the dependend roles:

We are now using the result facts from wcm_io_devops.conga_files, wcm_io_devops.conga_bundle_files and wcm_io_devops.conga_aem_packages to determine if a restart is required or not after the roles were applied.

In order to merge this PR we need to merge the dependend PRs before and release the roles to Ansible Galaxy.

Tobias Richter added 4 commits December 2, 2020 10:26
…estart inside the wcm_io_devops.conga_bundle_files role now
…e instance when copy task in conga_files has changed.
…be handlers" since handlers are not working in 2.8+ as needed.
…_devops.conga_files or wcm_io_devops.conga_bundle_files have changed
Copy link

@bellackn bellackn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tobias-richter tobias-richter marked this pull request as ready for review December 11, 2020 11:15
@tobias-richter tobias-richter merged commit 82b7043 into master Dec 11, 2020
@tobias-richter tobias-richter deleted the feature/ansible-2.8-compatibility branch December 11, 2020 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants