UsageΒΆ
- To install and execute:
ansible-galaxy install constrict0r.pyp ansible localhost -m include_role -a name=constrict0r.pyp -K
- Passing variables:
ansible localhost -m include_role -a name=constrict0r.pyp -K \ -e "{packages_pip: ['bottle==0.12.17', 'whisper']}"
- To include the role on a playbook:
- hosts: servers roles: - {role: constrict0r.pyp}
- To include the role as dependency on another role:
dependencies: - role: constrict0r.pyp packages_pip: ['bottle==0.12.17', 'whisper']
- To use the role from tasks:
- name: Execute role task. import_role: name: constrict0r.pyp vars: packages_pip: ['bottle==0.12.17', 'whisper']
- To run tests:
cd pyp chmod +x testme.sh ./testme.sh
On some tests you may need to use sudo to succeed.