osmo-ci/ansible
Oliver Smith 7a40ff9aa1 ansible/docuum: set default to 40 GB
After looking at total available disk space on most of the hosts,
storing up to 40 GB of images seems a more reasonable default. We can
increase it again if it should really not be enough.

Related: OS#5099
Change-Id: Iad679252b027003391f1e2368149cb10ea0c729e
2022-02-14 15:33:37 +01:00
..
files README: Update version number of poky toolchain 2020-02-24 09:11:29 +00:00
host_vars ansible: ogt: prod setup has 12 modems nowadays 2021-03-15 14:50:28 +01:00
roles ansible/docuum: set default to 40 GB 2022-02-14 15:33:37 +01:00
vars ansible: Fix OBS directory naming 2020-11-28 22:33:02 +01:00
.gitignore add ansible playbooks 2018-03-16 09:18:11 +00:00
README.md README.md: Fixup ansible command line for docker login 2020-11-02 17:54:05 +01:00
ansible.cfg ansible/ansible.cfg: make command output readable 2022-02-11 15:44:16 +01:00
hosts ansible/hosts: new IPs for GTP0 slaves 2021-05-17 08:10:12 +02:00
setup-desktop.yml generalize the install-poky-sdk role to support multiple sdks 2019-04-26 15:38:12 +02:00
setup-gsm-tester.md ansible: Document docker login step 2018-05-25 12:16:09 +02:00
setup-gsm-tester.yml Deploy osmo-ci to ogt nodes and update it periodically 2022-02-07 11:29:26 +01:00
setup-jenkins-slave.yml ansible/setup-jenkins-slave: accept rel-change 2022-02-11 15:44:16 +01:00
setup-simtest.yml ansible: fix apt deprecation warning about loops 2021-03-08 15:47:17 +01:00

README.md

ansible repository

Ansible is an automisation, provisioning and configuration management utility.

How to use it?

  • you need ansible installed (version 2.4, other might work as well)

How to setup the gsm-tester?

ansible-playbook -i hosts setup-gsm-tester.yml

Your ssh key need to be deployed on the host. Further information on this job can be found in setup-gsm-tester.md.

How to setup a jenkin slave?

ansible-playbook -i hosts setup-jenkins-slave.yml

Further information on this job and around the setup can be found on the redmine wiki.

If you don't have access to an IPv6 network from your local host, then you can use an ssh proxy to updates hosts in the hosts files being accessed only through an IPv6 addr. Your ssh proxy must of course have an IPv6 address able to reach the destination host.

example .ssh/config:

Host 2a01:4f8:13b:828::1:*
ProxyJump proxyuser@myhostproxy.com:22
User root

how to make slaves log-in to registry.osmocom.org:

ansible jenkins-slaves -u root -a "su - osmocom-build -c 'docker login -u jenkins-slave -p PASSWD https://registry.osmocom.org/'"