aboutsummaryrefslogtreecommitdiff
path: root/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Segundo2023-06-17 20:58:29 +0200
committerChristian Segundo2023-06-17 20:58:29 +0200
commitda6c0e503ff4154bc0e61f6b545224249ebed8d5 (patch)
tree30277980fac160ec8ba151e42f10de3974d3ccae /tasks/main.yml
downloadbuildkite-agent-da6c0e503ff4154bc0e61f6b545224249ebed8d5.tar.gz
First commit
Diffstat (limited to 'tasks/main.yml')
-rw-r--r--tasks/main.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
new file mode 100644
index 0000000..484adfc
--- /dev/null
+++ b/tasks/main.yml
@@ -0,0 +1,13 @@
+---
+- name: Install required system packages
+ apt:
+ name: "{{ buildkite_packages + buildkite_extra_packages }}"
+
+- include_tasks: buildkite.yml
+- include_tasks: docker.yml
+
+- name: Add buildkite-agent user to docker group
+ user:
+ name: buildkite-agent
+ groups: [docker]
+ append: true