Add a separate Buildbot host info template for EC2

Latent workers are not usually created on the instance type that will be used,
so memory and CPU info collected at AMI creation will likely be inaccurate.
This commit is contained in:
Jack Grigg
2017-07-14 12:24:01 -05:00
parent 8247fd954c
commit e5f8e6185a
4 changed files with 5 additions and 3 deletions

View File

@@ -104,7 +104,7 @@
- name: Set host details for Buildbot worker
template:
src: templates/host.j2
src: "{{ buildbot_worker_host_template }}"
dest: "~/{{ buildbot_worker_name }}/info/host"
become_user: "{{ buildbot_worker_user }}"