Execute Play
This play has been designed to run on a schedule; AWX is the preferred method to do this.
chefsrv_main
- Primary Chef server; the server you want to clone.chefsrv_bkup
- Secondary Chef server; the server being restored to.
ansible-playbook --vault-password-file=.passfile chef_server_sync.yml -e "chefsrv_bkup='<SERVER1>' chefsrv_main='<ORIG_CHEF_SERVER>'"