Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markahesketh/vagrant-ansible-lemp
Creates a blank LEMP box for local and production use.
https://github.com/markahesketh/vagrant-ansible-lemp
ansible lemp nginx php vagrant
Last synced: 18 days ago
JSON representation
Creates a blank LEMP box for local and production use.
- Host: GitHub
- URL: https://github.com/markahesketh/vagrant-ansible-lemp
- Owner: markahesketh
- Created: 2014-07-21T15:01:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-11T22:53:54.000Z (over 9 years ago)
- Last Synced: 2024-10-11T00:46:27.179Z (about 1 month ago)
- Topics: ansible, lemp, nginx, php, vagrant
- Language: Shell
- Size: 280 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vagrant/Ansible LEMP Playbook
Creates a blank LEMP box for local and production use.
This repo was created for my own personal use and may not be ideal for your own setup.
The [Ansible Documentation](http://docs.ansible.com/intro.html) is a great place to start on the basics of using Ansible for provisioning.
You can also see the [Vagrant Documentation](http://docs.vagrantup.com/v2/provisioning/ansible.html) on using Ansible with Vagrant.
## Getting Started
Rename `group_vars/all.yml.example` to `group_vars/all.yml` and edit this file to configure common variables.
Run the playbook against your host.
## Creating encrypted user passwords
Taken from the Ansible documentation: http://docs.ansible.com/faq.html#how-do-i-generate-crypted-passwords-for-the-user-module.
$ pip install passlib
Once the library is ready, SHA512 password values can then be generated as follows:
$ python helpers/encrypt.py "password_goes_here"
*Note*: Some characters may need escaping with `\`. The output should show the exact input that was encrypted.
Copy/paste the generated string into the variable file.