Ansible based setup script. #1101
Conversation
|
I tried it on Ubuntu 14.04 and some modifications had to be made.
I couldn't make the tests to run. They need a Future enhancements
Steps to runPlace ansible.yml |
|
@axilleas thanks for trying this out man! This is by no means complete. A few of the things you mention (like node vs nodejs) can be fixed by supporting different distros as you mention and others just need fixing. Do you think that having ansible playbooks for development environment setup (especially for contributors) could be the way forward? One thing I like about them is that you can setup a CI job to test the actual installation, thus I have the django tests as the very last step of the playbook. If the tests pass, installation was successful. I'd love to hear your thoughts on this. |
|
Just curious, why Ansible and not something that we already use and is supported [like Puppet]? |
|
Hey @glogiotatidis @axilleas . I wanted to experiment with Ansible as well so I started with this branch and after following @axilleas suggestions I amended some changes here [1] that work locally for me. @glogiotatidis [1] https://github.com/johngian/mozillians/tree/ansible |
|
@m8ttyB I don't know much about puppet, but ansible:
@glogiotatidis @johngian the hard part is to provide a universal distribution method that works at least on Linux/MacOSX. The best viable solution would be Vagrant+Ansible or Vagrant+Docker. More experienced users will be able to bypass vagrant and work only with ansible or docker. |
This is a first try to automate install of development environment using Ansible. This is neat because:
I submit this pull request for comments @akatsoulas @johngian