Osmocom Continuous Integration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
osmo-ci/ansible
Oliver Smith 47dde8559f ansible: add rules to install qemu images 15 hours ago
..
files README: Update version number of poky toolchain 3 years ago
host_vars ansible: ogt: prod setup has 12 modems nowadays 2 years ago
roles ansible: add rules to install qemu images 15 hours ago
vars docker: Fix vfs storage cleanup task 7 months ago
.gitignore add ansible playbooks 5 years ago
README.md README.md: Fixup ansible command line for docker login 2 years ago
ansible.cfg ansible/ansible.cfg: make command output readable 10 months ago
hosts ansible: add rules to install qemu images 15 hours ago
setup-desktop.yml generalize the install-poky-sdk role to support multiple sdks 4 years ago
setup-gsm-tester.md ansible: Document docker login step 5 years ago
setup-gsm-tester.yml Replace most remaining git.osmocom.org urls 2 months ago
setup-jenkins-slave.yml ansible: add rules to install qemu images 15 hours ago
setup-obs-worker.yml New osmocom-obs-worker role for our OBS workers 7 months ago
setup-simtest.yml ansible/setup-simtest: pre-install pysim depends 2 months ago

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/'"