Closed coreywan closed 4 years ago
I think the issue you are seeing is that each time purefa_hg
runs it does a compare of the existing hosts to the list of hosts provided in the play. In your case this will always be seen as a change because you are looping through the hosts one at a time.
We'll have to see if we can recode for this use case.
I'll have a dig into this now
@coreywan OK - yep - I see the problem - I'll work on a fix
Addressed in #88
Resolved and fix in Collection 1.2.7 (available immediately on Ansible Galaxy - AAE will take longer to release the new release)
Describe the bug In the collection version
1.2.3
, purefa_hg doesn't appear to be idempotent.To Reproduce Steps to reproduce the behavior:
Inventory:
group_var:
Playbook:
Expected behavior Second run of the playbook shouldn't invoke a change.
Desktop (please complete the following information):