Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Execute Play

This play has been designed to run on a schedule; AWX is the preferred method to do this.

Variables

  • chefsrv_main - Primary Chef server; the server you want to clone.
  • chefsrv_bkup - Secondary Chef server; the server being restored to.

Commands

ansible-playbook --vault-password-file=.passfile chef_server_sync.yml -e "chefsrv_bkup='<SERVER1>' chefsrv_main='<ORIG_CHEF_SERVER>'"