roots-cli
roots-cli copied to clipboard
Ability to Scaffold a Basic Trellis Project
Initial Startup
- [ ] ensure you can clone the repo
- [x] Grab the trellis source and put it
- [ ] grab bedrock
- [ ] Detect invalid state and start over
- [x] detect proper version of ansible
- [ ] detect proper ansible-galaxy
- [ ] install galaxy roles
- [ ] ensure vagrant is installed
- [ ] ensure vagrant plugins are installed
Customization
- [ ] support customization of one site
- [ ] replace example.com
- [ ] replace example.dev host
- [ ] replace all the env environment variables accordingly
Ansible detection command:
$ ansible-playbook --version
ansible-playbook 1.9.2
configured module search path = None
If we can't parse that version out then we assume it's not installed?
Require > 1.9.2 && < 2.0.0 for now.
Version number compare lib: https://github.com/mcuadros/go-version