This adopts old functional tests to be launched with molecule. Patch does not intend to extend or refactor set of existing tests, but to provide a baseline to iterate on and ability to improve coverage with important usecases. Change-Id: Ia93b5adb313d5b930086ce90dafe6a63da092aba Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
15 lines
447 B
YAML
15 lines
447 B
YAML
---
|
|
- name: Prepare environment for testing
|
|
hosts: service_hosts
|
|
vars:
|
|
procps_package_name:
|
|
redhat: procps-ng
|
|
debian: procps
|
|
tasks:
|
|
- name: Install required packages
|
|
ansible.builtin.package:
|
|
name:
|
|
- python3-cryptography
|
|
- "{{ procps_package_name[ansible_facts['os_family'] | lower] }}"
|
|
update_cache: "{{ (ansible_facts['os_family'] | lower == 'debian') | ternary(true, omit) }}"
|