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
- 명령어
- 번역
- Module
- deview
- mysql
- apache
- Windows
- error
- httpd
- limits
- code
- File
- MariaDB
- client
- Ansible
- 예제
- Linux
- example
- PowerShell
- Python
- configuration
- 이슈처리
- RESTful
- 외부링크
- check
- 코드
- command
- Web
- monitoring
- engineering
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함