Skip to content
Snippets Groups Projects
Commit e7856d8a authored by nimrod's avatar nimrod
Browse files

- Convert to Python package.

parent 29a18b01
No related branches found
No related tags found
No related merge requests found
......@@ -2,9 +2,10 @@
- id: ansible-syntax-check
name: Syntax check Ansible playbooks
description: Check Ansible playbooks for syntax errors.
language: script
entry: ansible-syntax-check
language: python
entry: ansible-playbook
files: playbook.yml
args: ['--inventory=localhost,', '--syntax-check']
- id: ansible-vault-check
name: Verify vaulted files
description: Verify that Ansible Vault files are vaulted.
......
from setuptools import setup
setup(
name='pre_commit_ansible_dummy_package',
version='0.1.0',
install_requires=['ansible==2.2.1.0'],
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment