osmo-ci/ansible
Oliver Smith 0aa60b04a5 ansible/setup-jenkins: install rsync
After recent refactoring of the gerrit-binpkgs job, rsync is now
requried on the jenkins nodes. It was installed on the ones where I
tested, but not on all of them.

Fixes: b2e12851 ("OBS: move gerrit-binpkgs logic to separate script")
Change-Id: Ic8ffd61fc2c89574085e9c3abbceb554f3c5da6a
2024-05-08 12:12:03 +00: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: fix updating /opt/coverity/current 2023-12-08 13:40:08 +00:00
util ansible: add raspbian11build container on lx2 machine 2023-11-18 15:22:43 +01:00
vars ansible: hosts: add build4-deb12build-ansible 2023-10-19 07:30:20 +00:00
.gitignore ansible: .gitignore: make poky regex more specific 2023-01-23 10:57:45 +00:00
README.md ansible: hosts: replace invalid char minus ("-") in host group names 2023-03-23 08:52:06 +00:00
ansible.cfg ansible.cfg: set default remote_user = root 2023-03-25 08:07:42 +00:00
hosts ansible: add raspbian11build container on lx2 machine 2023-11-18 15:22:43 +01: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 ansible: hosts: replace invalid char minus ("-") in host group names 2023-03-23 08:52:06 +00:00
setup-jenkins-slave.yml ansible/setup-jenkins: install rsync 2024-05-08 12:12:03 +00:00
setup-obs-worker.yml ansible: hosts: replace invalid char minus ("-") in host group names 2023-03-23 08:52:06 +00:00
setup-simtest.yml ansible: osmocom_build_deps: remove 2023-08-17 14:01:39 +02: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/'"