User Tools

Site Tools


ansible_serial

If you need have a playbook that you can dynamically choose the serial, this is a good way:

serial: "{{ ser_count | default('1') }}"

Make default what you want to run as normally using standard serial convention, and then you can pass is ser_count. Great for control from Ansible Tower templates.

ansible_serial.txt · Last modified: 2020/05/22 17:27 by The SuperUser