6762/running-ansible-command-server-deployed-multiple-servers
You can try the run_once attribute:
Example from the ansible docs:
--- # ... tasks: # ... - command: /opt/application/upgrade_db.py run_once: true # ...
Hi,
You may try to executive delegate_to module to the playbook hence the task will be executed in that particular server at once.
Example:
---- hosts: all tasks: -name: Running ansible command on a single server command: delegate_to: server name
Make git, Jenkins, Docker, ansible master as ...READ MORE
Just go through the error message: Ansible can't ...READ MORE
I hadn't created the ssh connection between ...READ MORE
Here is concept which you can follow. blockinfile is ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Try using ingress itself in this manner except ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
Go through this include_role module: tasks: - ...READ MORE
Jenkins uses it's own user to execute ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.