Ansible 커스텀 모듈 개발
커스텀 모듈 - testing.py 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #!/bin/env python from ansible.module_utils.basic import * import os, json import re, sys def firstProg(text): text1 = "Hello " + text return text1 if __name__ == '__main__': fields = { "yourName": {"required": True, "type": "str"} } module = AnsibleModule(argument_spec=fields) yourName = os.path.expanduser(module.params['yourName'..
엔지니어링
2020. 2. 26. 18:15
warpmemory
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
페이지
TAG
- Windows
- Web
- 예제
- configuration
- Python
- code
- RESTful
- 번역
- limits
- Ansible
- Module
- Linux
- PowerShell
- MariaDB
- apache
- deview
- command
- example
- monitoring
- client
- 외부링크
- 코드
- 명령어
- check
- 이슈처리
- error
- engineering
- mysql
- httpd
- File
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
31 |
글 보관함