Wednesday, 6 May 2020

Ansible JOBS AND PROCESS CONTROL


run Ansible ad hoc with 10 parallel forks
ansible -i hosts testnode1 -a "uname -a" -f 10

show human readable output
add this line to ansible.cfg
stdout_callback=yaml

No comments:

Post a Comment