I have consists the following playbook. But while executing playbook process happening is sequential manner.In this way for running one playbook for 30 hosts takes long time.I have tried with forks and serial parameters also. But nothing change i observed. The following is output of my playbook
ansible-playbook main.yml --limit test PLAY [test] ******************************************************************* TASK: [mail | service postfix restart] **************************************** changed: [srv613] changed: [srv612] changed: [dsrv143] TASK: [mail | service dovecot restart] **************************************** changed: [srv613] changed: [dsrv143] changed: [srv612] TASK: [mail | service opendkim restart] *************************************** changed: [dsrv143] changed: [srv613] changed: [srv612] TASK: [mail | service apache2 restart] **************************************** changed: [srv613] changed: [srv612] changed: [dsrv143] TASK: [mail | service cron restart] ******************************************* changed: [srv613] changed: [dsrv143] changed: [srv612] PLAY RECAP ******************************************************************** dsrv143 : ok=5 changed=5 unreachable=0 failed=0 srv612 : ok=5 changed=5 unreachable=0 failed=0 srv613 : ok=5 changed=5 unreachable=0 failed=0 So how to do this playbook running in all three hosts at a time? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/14d0e607-ed27-4438-8cd0-493280904231%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
