aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: c8d7ee125c5f3367645a81ab7c2ee5d07094c773 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 }}"
```