--- - name: git clone dir create file: path: /home/jh state: directory - name: git clone ipcheck.sh git: repo: https://github.com/ByeonJungHun/IP-Check-List.git dest: /home/jh single_branch: yes version: main #- name: ipcheck shell start # shell: sh {{ role_path }}/files/ipcheck.sh