diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index 417713f..1dbee9c 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -13,6 +13,13 @@ keycloak_quarkus_proxy_mode: none keycloak_quarkus_offline_install: true keycloak_quarkus_download_path: /tmp/keycloak/ + pre_tasks: + - name: "Install iproute" + become: true + ansible.builtin.dnf: + name: + - iproute + state: present roles: - role: keycloak_quarkus - role: keycloak_realm diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index c133eee..294bec3 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -3,7 +3,7 @@ driver: name: docker platforms: - name: instance - image: registry.access.redhat.com/ubi8/ubi-init:latest + image: registry.access.redhat.com/ubi9/ubi-init:latest pre_build_image: true privileged: true command: "/usr/sbin/init" diff --git a/molecule/prepare.yml b/molecule/prepare.yml index 27486a3..4550e31 100644 --- a/molecule/prepare.yml +++ b/molecule/prepare.yml @@ -24,13 +24,6 @@ - sudo_pkg_name in ansible_facts.packages fail_msg: "sudo is not installed on target system" -- name: "Install iproute" - become: true - ansible.builtin.yum: - name: - - iproute - state: present - - name: "Retrieve assets server from env" ansible.builtin.set_fact: assets_server: "{{ lookup('env', 'MIDDLEWARE_DOWNLOAD_RELEASE_SERVER_URL') }}"