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

Execute Play

This play is intended to be run from AWX as a part of a CICD Pipeline; specifically because a vault is involved.

Variables

  • pipeline_type: Current example is for Chef cookbooks or roles.
  • repo_name: This should contain the exact name used for the repo in Bitbucket.

Commands

ansible-playbook --vault-password-file=.passfile jenkins_pipeline.yml -e "pipeline_type=cookbook repo_name=<title_of_repo>"
ansible-playbook --vault-password-file=.passfile jenkins_pipeline.yml -e "pipeline_type=role repo_name=<title_of_repo>"