- Ansible Role Version:
0.1.15
- Goss Version:
0.4.9
$ ansible-galaxy install marcinpraczko.goss-install
Sometimes some changes has been applied to develop
or feature
branch and are not yet released.
Ansible-galaxy allows install roles directly from GitHub
.
mkdir testing-roles
cd testing-roles
ansible-galaxy install -p roles git+https://github.com/marcinpraczko/ansible-goss-install.git,develop
Above example will install develop
branch. This can be adjusted to any git SHA commit, tag or branch
name - depends of requirements.
Checking what version is installed can be done with command:
ansible-galaxy list -p roles
All important variables are in file: default/main.yml
.
Following example will install goss
in user home directory: ${HOME}/bin
:
${HOME}/bin
- folder will be created.
- name: "Install goss in home directory"
hosts: localhost
become: False
gather_facts: True
roles:
- role: "marcinpraczko.goss-install"
Following example will install goss
in system: /usr/local/bin
:
/usr/local/bin
- folder will be created.
- name: "Install goss in system"
hosts: all
become: True
gather_facts: False
roles:
- role: marcinpraczko.goss-install
goss_dst_dir: /usr/local/bin
I tried to work with latest versions of molecule
and vagrant
- however this didn't work at all.
There were too many changes in molecule
and didn't work at all. I needed to develop altearnative solution.
- For now testing with
molecule
is not supported (removed).
This role can be tested locally with vagrant
For more details please run
make testing-installation ## This will display more instructions related with testing locally