From 0167afe2da6ee8b61423f2363760a0b59f48701a Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Sat, 17 Jun 2023 21:00:44 +0200 Subject: add readme --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c8d7ee1 --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# buildkite-agent + +Install and configure `buildkite-agent`. + +##### requirements.yml + +```yaml +roles: + - src: git+https://git.segundo.io/Ansible/buildkite-agent + name: buildkite-agent +``` + +### Example playbook + +```yaml +--- +- hosts: foo + roles: + - role: buildkite-agent + vars: + buildkite_config: + - key: token + value: "{{ buildkite.agent_token }}" + - key: spawn + value: 1 + quote: false + buildkite_extra_packages: [make] + buildkite_environment_hook: | + export DOCKER_HUB_PASSWORD="{{ dockerhub.token }}" +``` -- cgit v1.2.3