first commit

This commit is contained in:
변정훈
2023-06-30 12:59:24 +09:00
parent 9278067376
commit 7e8f4317f9

View File

@@ -1,41 +1,15 @@
--- ---
- name: ipcheck shell start - name: git clone dir create
shell: sh {{ role_path }}/files/ipcheck.sh file:
args: path: /home/jh
chdir: /runner/project state: directory
- name: git config - name: git clone ipcheck.sh
shell: git config --global user.email "sa_8001@ex-em.com" git:
repo: https://github.com/ByeonJungHun/IP-Check-List.git
dest: /home/jh
single_branch: yes
version: main
- name: git config #- name: ipcheck shell start
shell: git config --global user.name "sa8001" # shell: sh {{ role_path }}/files/ipcheck.sh
- name: git init
shell: git init
args:
chdir: /runner/project
- name: git add
shell: git add .
args:
chdir: /runner/project
- name: git commit
shell: git commit -m "ip check update"
args:
chdir: /runner/project
#- name: git branch
# shell: git branch -M main
# 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 push
shell: git push -u origin main
args:
chdir: /runner/project