Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I’m curious if anyone has created a better solution to something I have run up on. Despite days juggling different ideas and searching around I have not seen an example of ansible playbooks that does not explicitly match all inventory hosts in their ...
I appreciate you taking the time to write that out as it may help others but I was already doing this but more of a manual way to create the list of changed devices (see one of my previous comments). I created a dynamic way to do this using the GitLa...
Here is the code I wrote that solved this for me.https://github.com/ChadPunk/Ansible-Gitlab-List-of-changed-devices-for-pipelineIf you need any help don't hesitate to reach out.
This is actually what I am already doing but in a unique way (which I am trying to get away from). Currently I use the merge title to compile a list of devices and then in the pipeline using the GitLab 'CI_COMMIT_TITLE' and pass that into the playboo...
Thank you for your reply. I’m not looking to limit ansible’s concurrentprocesses. I’m rather looking to limit the hosts: var all together in aplaybook run for a limited amount of hosts based on which hostsconfiguration changed in a certain directory ...