Python fabric으로 서버 관리 자동화
fabric 설치 1pip install fabriccs install.py(fabfile.py) 스크립트 작성123456789101112131415161718192021222324252627from fabric.state import outputfrom fabric.api import run, env, put, sudo #env.hosts=[# "root@server-001.test.com"#]#env.password = "passwd" #env.warn_only = True#output.status = False#output.everything = Falseenv.disable_known_hosts = Trueenv.reject_unknown_hosts = False def install_daemon..
엔지니어링
2017. 2. 7. 11:51
warpmemory
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
페이지
TAG
- 외부링크
- error
- apache
- Web
- 예제
- Python
- engineering
- limits
- Module
- 코드
- command
- Windows
- configuration
- 번역
- File
- RESTful
- 명령어
- client
- code
- 이슈처리
- Ansible
- deview
- Linux
- httpd
- MariaDB
- mysql
- PowerShell
- monitoring
- check
- example
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함