--- a/ansible/roles/pidgin.bamboo-agent/tasks/main.yml Sun May 26 02:21:06 2019 -0500
+++ b/ansible/roles/pidgin.bamboo-agent/tasks/main.yml Sun May 26 02:21:32 2019 -0500
@@ -74,7 +74,7 @@
# create the agent home directory (mostly used for triggers)
- name: create bamboo's agent-home
- name: "{{bamboo_agent_home}}"
group: "{{bamboo_group}}"
@@ -84,6 +84,15 @@
- "{{bamboo_agent_home}}/bin"
+# add our capabilities file (we do this ahead of time so it if this is a new +# agent they'll be there right away. +- name: install bamboo capabilities + dest: "{{bamboo_agent_home}}/bin/bamboo-capabilities.properties" + agent.Name = {{ ansible_hostname }} + system.builder.command.Convey = /usr/local/bin/convey - name: get bamboo agent installer (as jar)