osmo-ci/ansible
Harald Welte 0bd157f0bd ansible/docker: ensure gnupg + crontab are installed
Both are required by docker, but seem to be missing from explicit
dpkg 'Requires' :/

TASK [docker : add docker gpg key to apt keyring] ********************************************************
fatal: [rpi4-deb9build-ansible]: FAILED! => {"changed": false, "msg": "Failed to find required executable gpg in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}

TASK [docker : cleanup old docker images] ****************************************************************
[WARNING]: The value 0 (type int) in a string field was converted to '0' (type string). If this does not
look like what you expect, quote the entire value to ensure it does not change.

fatal: [rpi4-deb9build-ansible]: FAILED! => {"changed": false, "msg": "Failed to find required executable crontab in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}

Change-Id: I2d342f85f6bc1b80eaafc7075552019fea147894
2020-01-26 13:35:33 +01:00
..
files add ansible playbooks 2018-03-16 09:18:11 +00:00
host_vars ansible: gsm-tester-prod: Set dhcp ip addr for LimeNet-micro board 2019-11-22 14:55:12 +00:00
roles ansible/docker: ensure gnupg + crontab are installed 2020-01-26 13:35:33 +01:00
.gitignore add ansible playbooks 2018-03-16 09:18:11 +00:00
README.md ansible: Document how to use ProxyJump to access ipv6 nodes 2019-04-26 15:59:01 +02:00
hosts ansible: add playbook setup-simtest 2018-07-19 23:04:24 +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 ansible: gsm-tester-prod: Set DNS server to a working service 2019-11-26 13:30:44 +01:00
setup-jenkins-slave.yml Fix oc2g poky SDK installation 2019-05-15 14:46:02 +02:00
setup-simtest.yml ansible: add playbook setup-simtest 2018-07-19 23:04:24 +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