Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Run a command across all hosts

Traun Leyden edited this page Feb 23, 2016 · 2 revisions
$ export ANSIBLE_CONFIG="/path/to/sync-gateway-testcluster/provision/ansible/playbooks/ansible.cfg"
$ ansible sync_gateways -u centos -i provisioning_config -m command -a 'ls -al /tmp'

Clone this wiki locally