Hi everyone,
I’d like do a following scenario:
- commit a change in Puppet repo which has config for servers
- before this commit gets pulled in by Puppet daemons on servers I want to force
- run the Ansible playbook
- task1: stop Puppet daemons on all servers at once (parallel task)
- task2: serially run an an Ansible task community.general.puppet on each server
I already do rolling updates with “serial: 1” in all the updates. Considering on the format of the playbooks and documentation it seems to me I’d have to make two separate playbooks, one with parallel execution and one with serial? Or am I wrong and it can be done within one playbook? Maybe it’s possible to work around the problem with include_tasks or import_tasks?
Martin