Loading views...
ansible 703 704 배포

ansible 703 704 배포

Date
Date
2020 Jan 7 0:0
Created by
Created by
Seonglae ChoSeonglae Cho
Created time
Created time
2023 Feb 28 12:39
Last edited by
Last edited by
Seonglae ChoSeonglae Cho
Last edited time
Last edited time
2023 Apr 15 16:46
Refs
Refs
notion image
ansible-playbook all.yaml -k
  • pm2 media path 수정하고
  • merge-media 로 수정하고
delab 2 에 배포
 
 
앞으로는 delab1 (701 702), delab2(703,704)를 같이 다뤄야 할 일이 대부분이기 때문에
host 가 여러 그룹에 속할 수 잇게 해야함
ex. 701이 delab1 도 되고 delab 2 도 되고
 
아니면 delab1, 2를 없에고 delab 에 넣어두는게 맞긴한데 이것도 되게 하자!
 
[delab1] 10.0.50.171 nasdir=//10.0.50.181/smms_output pm2path=http://106.244.23.170:58071 10.0.50.172 nasdir=//10.0.50.182/smms_output pm2path=http://106.244.23.170:58072 [delab2] 10.0.50.173 nasdir=//10.0.50.183/smms_output pm2path=http://106.244.23.170:58073 10.0.50.174 nasdir=//10.0.50.184/smms_output pm2path=http://106.244.23.170:58074 [delab:children] delab1 delab2 [test] localhost nasdir=//10.0.50.181/smms_output pm2path=http://106.244.23.170:58061 [db] 10.0.50.162
nested group 완성! children으로 하는 거시었다
 
 
ansible-inventory --graph
 
notion image
 
notion image
재수정!!
notion image
 
 
검수툴 작업이 release branch 에서 되고 잇어서 내가 그냥 작업 환경 만드렁주기로..
 
 
notion image
완료! 사용법은 아래 팀즈에~
Join conversation
Join conversation
 
notion image
 
 

Recommendations