diff --git a/beszel_install.yaml b/beszel_install.yaml index f5a268c..4fce6a2 100644 --- a/beszel_install.yaml +++ b/beszel_install.yaml @@ -1,12 +1,11 @@ --- - hosts: debianhosts tasks: - - name: change working directo - become: yes - become_method: sudo - command: ‘pwd’ - args: - chdir: /tmp + - name: change working directory + ansible.builtin.command: + cmd: pwd + args: + chdir: /tmp register: exec_result - debug: var=exec_result.stdout_lines