보안 설정 Role 추가

This commit is contained in:
ByeonJungHun
2024-01-11 10:53:02 +09:00
parent bdce12d232
commit 4fedf1eb47
12 changed files with 111 additions and 87 deletions

View File

@@ -1,3 +1,3 @@
| 이름 | 아이피 | 상태 요약 | 상세 보기 |
| --- | --- | --- | --- |
| cmoa-jaeger-master | 10.10.43.213 | 취약 | http://10.10.43.42:8080/cmoa-jaeger-master.10.10.43.213.txt |
| cmoa-jaeger-master | 10.10.43.213 | 양호 | http://10.10.43.42:8080/cmoa-jaeger-master.10.10.43.213.txt |

View File

@@ -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"