- name: create folder hosts: homelab tasks: - name: Change Path to ~ ansible.builtin.shell: cmd: cd ~ - name: Create Folder "update_logs" in /home/root ansible.builtin.shell: cmd: mkdir update_logs