커스텀 모듈 - 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'..
Purge PDNS host123456789101112131415161718192021222324252627282930[dns:vars]ansible_connection=sshansible_ssh_user=root [pdns]1.1.1.12.2.2.2 [pdns_test]3.3.3.3 [recursor]4.4.4.45.5.5.5 [dnsdist]6.6.6.67.7.7.78.8.8.89.9.9.9 [pdns_group:children]pdnspdns_test [dns:children]pdns_grouprecursordnsdist cs Purge PDNS play-book(purge_pdns.yaml) 123456789101112131415161718192021- name : purge dns hosts: ..
- Total
- Today
- Yesterday
- Python
- File
- client
- monitoring
- example
- 번역
- 예제
- PowerShell
- limits
- 외부링크
- mysql
- MariaDB
- Windows
- Web
- 이슈처리
- error
- 명령어
- command
- 코드
- configuration
- code
- engineering
- check
- Ansible
- Module
- httpd
- apache
- deview
- RESTful
- Linux
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |