diff --git a/roles/ipcheck/files/ipcheck.sh b/roles/ipcheck/files/ipcheck.sh index 0ff4d00..6082349 100755 --- a/roles/ipcheck/files/ipcheck.sh +++ b/roles/ipcheck/files/ipcheck.sh @@ -1,7 +1,7 @@ #!/bin/bash start_ip="10.10.43.100" -end_ip="10.10.43.253" +end_ip="10.10.43.130" echo "마지막 수행 시간 : $(date +%Y-%m-%d-%r)

" > README.md echo "|IP Address     |Check Result     |" >> README.md diff --git a/roles/ipcheck/tasks/main.yml b/roles/ipcheck/tasks/main.yml index ae9cf12..93dd07a 100644 --- a/roles/ipcheck/tasks/main.yml +++ b/roles/ipcheck/tasks/main.yml @@ -4,10 +4,10 @@ args: chdir: /runner/project -#- name: git remote add -# shell: git remote add origin https://github.com/ByeonJungHun/ipcheck.git -# args: -# chdir: /runner/project +- name: git remote add + shell: git remote add origin https://github.com/ByeonJungHun/ipcheck.git + args: + chdir: /runner/project - name: git add shell: git add .