diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml index 0efc13a..3ded4eb 100644 --- a/molecule/default/verify.yml +++ b/molecule/default/verify.yml @@ -26,6 +26,7 @@ PIPX_HOME: "/opt/pipx" changed_when: false register: pipx_installed_packages + become: true - name: "Set fact" ansible.builtin.set_fact: diff --git a/molecule/with_custom_packages/verify.yml b/molecule/with_custom_packages/verify.yml index e2bba4b..bf793f3 100644 --- a/molecule/with_custom_packages/verify.yml +++ b/molecule/with_custom_packages/verify.yml @@ -26,6 +26,7 @@ PIPX_HOME: "/opt/pipx" changed_when: false register: pipx_installed_packages + become: true - name: "Set fact" ansible.builtin.set_fact: