Skip to content

Instantly share code, notes, and snippets.

@yfauser
yfauser / test_module_owm_curl.py
Created Feb 21, 2016
This is another example Ansible Module written in Python with the module.run_command method demonstrating a couple of key concepts for a Meetup presentation
View test_module_owm_curl.py
#!/usr/bin/python
import json
def main():
module = AnsibleModule(
argument_spec=dict(
appkey=dict(required=True),
city=dict(default='munich,de'),
treshold=dict(required=True, type='float')
@marktheunissen
marktheunissen / pedantically_commented_playbook.yml
Last active Jan 13, 2021 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
View pedantically_commented_playbook.yml
This playbook has been removed as it is now very outdated.