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