From efdc0d86ba30aa294f3befd9cf311de9063a485c Mon Sep 17 00:00:00 2001 From: ByeonJungHun Date: Thu, 11 Jan 2024 10:53:55 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=80=EC=82=AC=20=EA=B2=B0=EA=B3=BC=20?= =?UTF-8?q?=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../security_check/tasks/create_readme.yml | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) 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