diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 0cf9ac9..d1222e5 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -19,31 +19,33 @@ platforms: docker_host: "${DOCKER_HOST:-unix://run/docker.sock}" privileged: true pre_build_image: true - #capabilities: - # - SYS_ADMIN + cgroupns_mode: host + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:rw + - /var/lib/containerd + capabilities: + - SYS_ADMIN tmpfs: - /run - /tmp - volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro - # needs only by ubuntu 20.04 - # - /var/lib/docker/overlay2:/var/lib/docker/overlay2:rw provisioner: name: ansible ansible_args: - --diff - # - -v + - -v config_options: defaults: - deprecation_warnings: True + deprecation_warnings: true stdout_callback: yaml callbacks_enabled: profile_tasks - # remote_tmp: /tmp/ansible-${USER} + gathering: smart + fact_caching: jsonfile + fact_caching_timeout: 8640 + fact_caching_connection: ansible_facts scenario: test_sequence: - # - lint - destroy - dependency - syntax diff --git a/vars/archlinux-openrc.yml b/vars/archlinux-openrc.yml index 3716855..f4fd547 100644 --- a/vars/archlinux-openrc.yml +++ b/vars/archlinux-openrc.yml @@ -3,6 +3,9 @@ knot_packages: - knot-openrc +knot_dependencies: + - python-pip + knot_python_packages: - name: jinja2 version: 3.0.1 diff --git a/vars/artixlinux.yml b/vars/artixlinux.yml index 3716855..f4fd547 100644 --- a/vars/artixlinux.yml +++ b/vars/artixlinux.yml @@ -3,6 +3,9 @@ knot_packages: - knot-openrc +knot_dependencies: + - python-pip + knot_python_packages: - name: jinja2 version: 3.0.1 diff --git a/vars/redhat.yml b/vars/redhat.yml deleted file mode 100644 index aa15cf2..0000000 --- a/vars/redhat.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- - -knot_dependencies: - - dnf - - iproute - -knot_packages: - - knot - -...