Files
Dmitriy Rabotyagov a61ddd22c5 Symlink the role into tests
Ansible Core 2.19 has a different set of default paths to look for roles
so molecule test is failing now.

Let's create a symlink of the role into the tests repo for the test
playbook to find content of the role easily.

Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/979136
Change-Id: Iad52e7191d23d3f6d02cec260cb85c0bc4a894b4
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
2026-03-06 13:22:13 +00:00

22 lines
512 B
YAML

---
- name: Prepare
hosts: all
vars:
procps_package:
debian: procps
redhat: procps-ng
tasks:
- name: Update apt cache
ansible.builtin.apt:
update_cache: true
cache_valid_time: 3600
when:
- ansible_facts['os_family'] | lower == 'debian'
- name: Install python3-cryptography
ansible.builtin.package:
name:
- python3-cryptography
- "{{ procps_package[ansible_facts['os_family'] | lower] }}"
state: present