diff --git a/tests/tests_user_config.yml b/tests/tests_user_config.yml index 23c7e01..4918ac4 100644 --- a/tests/tests_user_config.yml +++ b/tests/tests_user_config.yml @@ -51,7 +51,7 @@ - name: Stat the .ssh dir become: true become_user: "{{ username }}" - become_method: su + become_method: ansible.builtin.su stat: path: "/home/{{ username }}/.ssh" register: @@ -68,7 +68,7 @@ - name: Make sure the file is readable by user become: true become_user: "{{ username }}" - become_method: su + become_method: ansible.builtin.su stat: path: "/home/{{ username }}/.ssh/config" @@ -100,7 +100,7 @@ - name: Test the effective configuration using ssh become: true become_user: "{{ username }}" - become_method: su + become_method: ansible.builtin.su command: ssh -vvv -G example register: effective when: