Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.09 KB

File metadata and controls

33 lines (21 loc) · 1.09 KB

GitHub Playbooks

Theses playbooks were created to show how we can interact with the GitHub API

You can fin the GitHub API here

Available playbooks

Required

Different element for python and ansible need to be added in order to execute this outside of an execution environment.

The Ansible collection:

  • None

The python libraries:

  • jmespath pip install jmespath

Execute

⚠️ Lot's of var have been externalize to represent running in a real environment, they must be provider to the playbook in order to work.

COPY the file inventory/github_values.yml into a local file like github_values-local.yml and use that to provide the variable to the playbooks.

ansible-playbook -i inventory/github_values-local.yml [desired playbook]