-
Notifications
You must be signed in to change notification settings - Fork 2
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
Bug: Setting array fails on subsequent runs #7
Comments
Thank you for reporting this problem! @lukashartl can you take a look at it? |
Of course. This sounds a lot like #2 . I think the latest version hasn't been uploaded to ansible-galaxy yet. We should probably automate this... in conjunction with #5 . |
I published the new version 0.2.2 to Ansible Galaxy.
Yes. The import isn't actually triggered from the website. Instead you need to increase the version number in ansible-galaxy collection build
ansible-galaxy collection publish elektra_initiative-libelektra-*.tar.gz --token=$ANSIBLE_TOKEN It should be simple enough to add a Github Action or Jenkins Job that does this. The job should be manually triggered IMO. |
I didn't try the problem as described above but I regularly apply configs with arrays, so I think this can be closed. |
I'm trying to write an ansible script to set values in an array and it works on the first run, but fails to execute on subsequent runs.
Expected
Ansible executes the playbook multiple times. Changes are only on the first run, and subsequent runs will return "ok".
Actual
First run works perfectly.
Subsequent runs will result in the following error:
I used the following playbook:
The text was updated successfully, but these errors were encountered: