osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/40137?usp=email )
Change subject: ansible: add build-hosts (build4, build5) ......................................................................
ansible: add build-hosts (build4, build5)
Prepare to install a daemon on these for getting coredumps into lxcs in the next patch.
Related: OS#6769 Change-Id: I2aa4e774b288f4ac00fb38be40de32415c565733 --- M ansible/hosts A ansible/setup-build-host.yml M ansible/util/known_hosts 3 files changed, 26 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/37/40137/1
diff --git a/ansible/hosts b/ansible/hosts index 9736064..4cd6242 100644 --- a/ansible/hosts +++ b/ansible/hosts @@ -1,3 +1,7 @@ +[build_hosts] +build4.osmocom.org +build5.osmocom.org + [gsm_tester] osmo-gsm-tester-rnd ansible_host=10.9.25.101 osmo-gsm-tester-prod ansible_host=10.9.25.107 diff --git a/ansible/setup-build-host.yml b/ansible/setup-build-host.yml new file mode 100644 index 0000000..ed8def5 --- /dev/null +++ b/ansible/setup-build-host.yml @@ -0,0 +1,20 @@ +--- +- name: setup build hosts + hosts: build_hosts + user: root + tasks: + - name: install common utilities + apt: + name: + - etckeeper + - htop + - ncdu + - rsync + - screen + - tmux + - tree + - vim + cache_valid_time: 3600 + update_cache: yes + roles: + - name: apt-allow-relinfo-change diff --git a/ansible/util/known_hosts b/ansible/util/known_hosts index 67427e3..51d03ea 100644 --- a/ansible/util/known_hosts +++ b/ansible/util/known_hosts @@ -10,3 +10,5 @@ 10.9.25.28 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG0rQGxSxWJHwNNT5XdeuMPSYCAXpcDnFDzvyw5+sH3l 2a01:4f8:140:926a::1:3 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFU0ICXO2Mq6HjOrgWJqWifEYwz+Y3eyPd8ZOkp8el3l 2a01:4f8:140:926a::1:2 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOQvi5s82dH4Duhp2YV4mo71+i3J6bybD/Ph/ibysdGE +build5.osmocom.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJafKRvWKA+B+cEz20YlWO+5XrWY+t4tacLAfm5DMMal +build4.osmocom.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHdLymAofmutYuXMgiWQaNiFUHfu+2j60pmWemd5hddw