Files
ipcheck_ansible/roles/ipcheck/tasks/main.yml
2023-06-30 13:41:23 +09:00

16 lines
322 B
YAML

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