diff --git a/ansible/security_check/roles/security_check/tasks/create_readme.yml b/ansible/security_check/roles/security_check/tasks/create_readme.yml index 8fce070..8ace5e0 100644 --- a/ansible/security_check/roles/security_check/tasks/create_readme.yml +++ b/ansible/security_check/roles/security_check/tasks/create_readme.yml @@ -25,22 +25,22 @@ dest: "{{ playbook_dir }}/README.md" delegate_to: 127.0.0.1 -#- name: git push -# shell: | -# pwd -# ls -al -# git config --global user.email "sa_8001@ex-em.com" -# git config --global user.name "ByeonJungHun" -# git clone https://{{ git_user }}:{{ git_key }}github.com/CloudMOA/dsk-iac.git ~/dsk-iac -# cp ./README.md ~/dsk-iac/ansible/security_check/README.md -# cd ~/dsk-iac -# cat README.md -# pwd -# ls -al -# git add . -# git commit -m "검사 결과 업데이트" -# git push -# delegate_to: 127.0.0.1 +- name: git push + shell: | + pwd + ls -al + git config --global user.email "sa_8001@ex-em.com" + git config --global user.name "ByeonJungHun" + git clone https://{{ git_user }}:{{ git_key }}github.com/CloudMOA/dsk-iac.git ~/dsk-iac + cp ./README.md ~/dsk-iac/ansible/security_check/README.md + cd ~/dsk-iac + cat README.md + pwd + ls -al + git add . + git commit -m "검사 결과 업데이트" + git push + delegate_to: 127.0.0.1 - debug: msg: "결과 확인 : https://github.com/CloudMOA/dsk-iac/tree/main/ansible/security_check" \ No newline at end of file