clean up foobazdmx role

make git repo url and version to check out a variable instead of a
hard-coded value the role, and update host_vars to match.
This commit is contained in:
Dario 2023-05-21 15:12:42 +02:00
commit e37d84c60d
Signed by: dario
SSH key fingerprint: SHA256:zP7OE8nhYwOWaDhOawrP6NmUVcZWi0wyPKQa6052GpM
4 changed files with 14 additions and 3 deletions

View file

@ -24,9 +24,9 @@
- name: Clone foobazdmx repository
become: true
ansible.builtin.git:
repo: https://ccchh-ansible:glpat-istRKj5ivdBs_u9Tsdbp@gitlab.hamburg.ccc.de/ccchh/foobazdmx.git
repo: "{{ foobazdmx_repo_url }}"
dest: /opt/foobazdmx
version: main
version: "{{ foobazdmx_version }}"
- name: Install python dependencies
become: true
become_user: foobazdmx