Systems Admin Info

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ansible:serialization [2023/05/12 17:09] – ↷ Page name changed from ansible:ansible_serial to ansible:serialization The SuperUseransible:serialization [2023/05/12 18:06] (current) The SuperUser
Line 1: Line 1:
 +====== Changing Serialization on the Fly ======
 +
 +
 If you need have a playbook that you can dynamically choose the serial, this is a good way: If you need have a playbook that you can dynamically choose the serial, this is a good way:
  
Line 4: Line 7:
      
 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. 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.
 +
 +From the command line, this is what you would do to run all hosts at once
 +<code>ansible-playbook -i hosts.commvault patch.yml -e="ser_count=100%"</code>