Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ansible -i /opt/nDeploy/conf/nDeploy-cluster/hosts ndeployslaves -m shell -a "yum -y --enablerepo=ndeploy upgrade"
yum -y --enablerepo=ndeploy upgrade
systemctl restart nginx
ansible -i /opt/nDeploy/conf/nDeploy-cluster/hosts ndeployslaves -m shell -a "systemctl restart nginx"
cd /opt/nDeploy/conf/nDeploy-cluster/
ansible-playbook -i ./hosts cluster.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.