Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 835 Bytes

GENERATOR.md

File metadata and controls

44 lines (26 loc) · 835 Bytes

ansible-boilerplate

Create your provisioning.

Install

source <(curl -sL http://bit.ly/ansible-boilerplate)

Configure the playbook in the file: vars/ansible-generator.yml

Choice of packages

  • apache
  • apt
  • composer
  • fail2ban
  • iptables
  • mysql
  • php
  • ssh

Generate ansible playbook

Command

ansible-playbook -i hosts/localhost ansible-generator.yml

Update your hosts file

For configure your /etc/hosts change update_hosts_file to True in ansible-generator.yml and execute:

ansible-playbook -i hosts/localhost ansible-generator.yml -K

After you can update update_hosts_file to True in ansible-generator.yml and execute default command.

Vagrant

Launch your vagrant

vagrant up

License

Licensed under the MIT License. See the LICENSE file for details.