Skip to content

Instantly share code, notes, and snippets.

@yaegashi
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaegashi/345c96c913409e21e319 to your computer and use it in GitHub Desktop.
Save yaegashi/345c96c913409e21e319 to your computer and use it in GitHub Desktop.
https://github.com/ansible/ansible/issues/8633 test case on a role with only library modules
# /hosts
localhost ansible_connection=local
#!/usr/bin/python
# /roles/modules/library/module
from ansible.module_utils.basic import *
AnsibleModule({}).exit_json(**{})
# /site.yml
---
- hosts: all
gather_facts: false
roles: [modules]
tasks: [{module:}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment