* /etc/rsyncd.conf
alias 설정
-- 형상 배포를 위한 rsync 설정
[Alias]
uid = root
gid = root
use chroot = yes
read only = no
hosts allow = [127.0.0.1, x.x.x.x, ]
max connections = 1000
timeout 30
path = [형상 상위 경로]
comment = [내용]
-- 테스트
ansible [기준 Alias] -m shell -a 'rsync -avn --delete --exclude="{형상 저장 경로}/*" --exclude=".git*"
[대상IP::설정저장 Alias] [target 경로]'
'IT > 개발' 카테고리의 다른 글
[Linux][모니터링] Prometheus Agent 설치에서 모니터링 설정까지 #step1 (0) | 2025.04.22 |
---|---|
[WSL2][포트포워딩] 외부 연결을 위한 연결 방법 (0) | 2024.12.03 |
[PHP][Composer] PHP 버전 혼용 사용시 composer 실행 이슈 (0) | 2024.06.27 |
[Linux] 버전 확인 (0) | 2024.06.21 |
[개발환경][Ubuntu 22.04 LTS][MariaDB-11.4.2] 구축 (0) | 2024.06.19 |