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