init
This commit is contained in:
28
molecule/default/prepare.yml
Normal file
28
molecule/default/prepare.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
- 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
|
||||
Reference in New Issue
Block a user