--- - name: ensure jenkins folder exists become: yes become_user: "{{ jenkins_user }}" file: path: "/home/{{ jenkins_user }}/jenkins" state: directory - name: setup the docker-playground become: yes become_user: "{{ jenkins_user }}" git: repo: "https://git.osmocom.org/docker-playground" dest: "/home/{{ jenkins_user }}/jenkins/docker-playground" - name: add apt.key apt_key: url: https://download.opensuse.org/repositories/network:/osmocom:/latest/{{ obs_distro }}/Release.key - name: add apt repository apt_repository: repo: "deb http://download.opensuse.org/repositories/network:/osmocom:/latest/{{ obs_distro }}/ ./" filename: obs_osmocom update_cache: yes - name: install libosmocore-utils apt: name: - libosmocore-utils update_cache: yes cache_valid_time: 3600