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