29 lines
691 B
YAML
29 lines
691 B
YAML
---
|
|
- name: Prepare instance for podman role testing
|
|
hosts: all
|
|
become: true
|
|
tasks:
|
|
- name: Ensure apt cache is up-to-date
|
|
ansible.builtin.apt:
|
|
update_cache: yes
|
|
cache_valid_time: 3600
|
|
|
|
- name: Install prerequisites used by the role/tests
|
|
ansible.builtin.apt:
|
|
name:
|
|
- apt-transport-https
|
|
- ca-certificates
|
|
- gnupg
|
|
- lsb-release
|
|
- curl
|
|
state: present
|
|
update_cache: false
|
|
|
|
- name: Install python3-venv and python3-pip for testinfra
|
|
ansible.builtin.apt:
|
|
name:
|
|
- python3-pip
|
|
- python3-venv
|
|
state: present
|
|
update_cache: false
|