[go: up one dir, main page]

Skip to content

codeyourinfra/ansible

Repository files navigation

ansible

License: MIT GitHub release Build status Ansible Role Ansible Role downloads

Ansible role to install Ansible.

Example Playbook

---
- hosts: servers
  roles:
    - codeyourinfra.ansible

The role requires some variables obtained through the gathering facts phase. So please don't turn off facts.

Build process

The build process is performed in Travis CI. During the build, the role is tested by using Molecule.

Test yourself

First of all, create your Python virtual environment and activate it:

python -m venv env && source env/bin/activate

After that, install all requirements:

pip install wheel && pip install -r requirements.txt

Finally, execute the test:

molecule test

Author Information

@gustavomcarmo is a contributor of Codeyourinfra. Get on board too! :)