roots-cli icon indicating copy to clipboard operation
roots-cli copied to clipboard

Ability to Scaffold a Basic Trellis Project

Open austinpray opened this issue 10 years ago • 1 comments

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

austinpray avatar Oct 16 '15 01:10 austinpray

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

swalkinshaw avatar Oct 16 '15 02:10 swalkinshaw