Skip to content

Instantly share code, notes, and snippets.

@sivel
Last active August 29, 2015 14:21
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 sivel/a9ad3f00a473186c073a to your computer and use it in GitHub Desktop.
Save sivel/a9ad3f00a473186c073a to your computer and use it in GitHub Desktop.
Ansible module validator
pip install git+https://github.com/ansible/ansible.git@devel#egg=ansible
pip install git+https://github.com/sivel/ansible-testing.git#egg=ansible_testing
git clone https://github.com/ansible/ansible-modules-core.git
ansible-validate-modules ansible-modules-core
============================================================================
_ec2_ami_search.py
============================================================================
ERROR: Did not find a module_utils import
============================================================================
ec2_asg.py
============================================================================
ERROR: module_utils import not near main()
ERROR: module_utils import not near main()
============================================================================
ec2_lc.py
============================================================================
ERROR: module_utils import not near main()
ERROR: module_utils import not near main()
============================================================================
ec2_metric_alarm.py
============================================================================
ERROR: module_utils import not near main()
ERROR: module_utils import not near main()
============================================================================
ec2_scaling_policy.py
============================================================================
ERROR: module_utils import not near main()
ERROR: module_utils import not near main()
============================================================================
azure.py
============================================================================
ERROR: module_utils import not near main()
============================================================================
vsphere_guest.py
============================================================================
ERROR: Did not find a module_utils import
============================================================================
command.py
============================================================================
ERROR: module_utils import not near main()
ERROR: module_utils import not near main()
============================================================================
replace.py
============================================================================
ERROR: Did not find a module_utils import
============================================================================
rhn_register.py
============================================================================
ERROR: module_utils import not near main()
ERROR: module_utils import not near main()
============================================================================
hostname.py
============================================================================
ERROR: module_utils import not near main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment