Age | Commit message (Collapse) | Author | Files | Lines |
|
include_tasks and import_tasks have similar functionality.
Use import_tasks when importing non-variable depending files.
Further use import_tasks when not used within a loop.
Closes: OS#5797
Change-Id: I29766c65b9e1601a20aa8f20a438e8368c65f6a8
|
|
Now that all rpis have been upgraded to debian 11, enable docuum like
it's already done for x86_64.
Change-Id: I7ab54f03819704cf60a69a417de6d14cb5cd7a56
|
|
The 'grep' logic of Change-Id I58f3f4a26ad6fa4698d87475cefb6ab21e66b15a
seems to be inverted. if "overlay2" is found (grep successful) the
exit code of grep is '0'.
Change-Id: I334b0c71ef626ffd2c84097e902a5164faa3fa8b
Related: OS#5827
|
|
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
|
|
When changing the value, replace the previous line instead of adding a
new line at the bottom.
Related: OS#5099
Change-Id: I35a3671a026cc72cf1488c8668e8a0e675de2530
|
|
Check if a group with the same GID as the docker group on the host
exists, before attempting to remove it.
Related: OS#5099
Change-Id: I24af5c1d2b1c488b37f29f1609ee56692eff569e
|
|
Docker is configured via ansible to use the overlay2 storage driver
since August 2020 (I20728d6017204c3978e23376baa89de6e91fed1e). Clean up
an unused vfs dir if it is present on the system, as it was the case on
build2-deb9build-ansible with a 190 GiB vfs dir.
Related: OS#5827
Change-Id: I58f3f4a26ad6fa4698d87475cefb6ab21e66b15a
|
|
Allow setting a max amount of space that docker images should take up,
and delete the least recently used images when the amount is exceeded.
Related: https://osmocom.org/projects/osmocom-servers/wiki/Docker_cache_clean_up
Change-Id: I640b1e607feca87e7a578946ae4b8332ce854ab1
|
|
Fix deprecation warnings like the following:
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop
via squash_actions is deprecated. Instead of using a loop to supply
multiple items and specifying `name: "{{ item }}"`, please use
`name: ['libjansson-dev', 'libulfius-dev']` and remove the loop.
This feature will be removed in version 2.11.
Related: OS#5055
Change-Id: I57b9ce690e8167249468954f3e62d14c7a92fcfc
|
|
The docker company official builds are only present for amd64, but not
for other architectures. Let's use the Debian docker.io package in such
situations.
Change-Id: Id85137fc0eb7fa5e2b31aa928c78bfdaadc281ac
|
|
If that package is not installed, adding the GPG key fails with SSL
certificate verification, at least on a debian10 i386 lxc:
TASK [add docker gpg key to apt keyring] *************************************************************
fatal: [gtp0-deb10build32-ansible]: FAILED! => {"changed": false, "msg": "Failed to download key at https://download.docker.com/linux/debian/gpg: Request failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>"}
Change-Id: I58259a99258c9c7471e1fcf03a3a7b62fa9c6a48
|
|
overlayfs2 should be the default anyway. Enable it on all hosts,
since it was enabled on older hosts.
Change-Id: I20728d6017204c3978e23376baa89de6e91fed1e
|
|
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
|
|
Fixes: OS#3144
Change-Id: I77fe38775b3f6055691bbf654de4019916b75fd7
|
|
Introduce playbooks to do:
- setup-jenkins-slave - setup a usualy or special jenkins-slave
- setup-gsm-tester - setup the gsm-tester
Change-Id: I7007a4e6c38f73843390ec2b3b91133aff21e36a
|