I recently tried to 'Get Started' running some Ansible examples, with no particular idea what I wanted to achieve, but hoping that getting something working would help me understand / learn something!
However, starting at https://github.com/openmicroscopy/infrastructure/blob/master/ansible/README.md I never managed to get anything working.
Followed instructions at https://github.com/openmicroscopy/infrastructure/blob/master/docs/ansible/installation.md until
Clone the repository containing the inventory, host and group vars files. Ansible will automatically look for host_vars and group_vars directories in the parent directory of the inventory file. This should be located at ../../ansible/inventory such that -i ../../ansible/inventory would be correct.
but didn't know where to look for example repositories. The only "Getting started" example I could see was https://github.com/openmicroscopy/ansible-role-omero-server but this doesn't seem to have the required files mentioned above and there were also no alternative instructions on that page on how to actually get started with the example.
Tried looking at "infrastructure" repo for examples, but don't know what's expected to work. Tried a few things e.g.
$ cd /Users/wmoore/Desktop/INFRASTRUCTURE/infrastructure/ansible
$ ansible-playbook -u wmoore --ask-become-pass -C -v os-devspace.yml
...
[WARNING]: Host file not found: ../../ansible/inventory/
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "vm_key_name is required"}
In the end I gave up and went to https://github.com/openmicroscopy/devspace which is probably where I should have started.
To summarise, if the "Getting Started" instructions are designed for newbies to get something running then they need the step-by-step instructions to go a bit further.
Maybe some more high-level intro to the various repos (Infrastructure, Management tools & devspace) would also help, since the relationship & differences between these is still kinda confusing so figuring out where to start is hard.
I recently tried to 'Get Started' running some Ansible examples, with no particular idea what I wanted to achieve, but hoping that getting something working would help me understand / learn something!
However, starting at https://github.com/openmicroscopy/infrastructure/blob/master/ansible/README.md I never managed to get anything working.
Followed instructions at https://github.com/openmicroscopy/infrastructure/blob/master/docs/ansible/installation.md until
but didn't know where to look for example repositories. The only "Getting started" example I could see was https://github.com/openmicroscopy/ansible-role-omero-server but this doesn't seem to have the required files mentioned above and there were also no alternative instructions on that page on how to actually get started with the example.
Tried looking at "infrastructure" repo for examples, but don't know what's expected to work. Tried a few things e.g.
In the end I gave up and went to https://github.com/openmicroscopy/devspace which is probably where I should have started.
To summarise, if the "Getting Started" instructions are designed for newbies to get something running then they need the step-by-step instructions to go a bit further.
Maybe some more high-level intro to the various repos (Infrastructure, Management tools & devspace) would also help, since the relationship & differences between these is still kinda confusing so figuring out where to start is hard.