fansible-tywin
v1.0.2
Published
Create easily your Ansible provisioning
Readme
Fansible Tywin
Create easily your Ansible provisioning
##Requirements This have been tested with the Ubuntu OS. It should work with many other various Linux distribution. Feel free to share your advice for the other OS.. You will need to install if you haven't done yet:
- Ansible
- Composer
- Vagrant
- VirtualBox.
- nfs
sudo apt-get install nfs-kernel-server
How to use it
Installation
composer require fansible/tywin *@dev --dev
Generate the default conf You can generate the default conf by running in the root directory of your project:
python vendor/fansible/tywin/generate.py
You can now found your provisioning in the devops directory
- Provision the VM
You can create the VM with
vagrant up.
Provision it with vagrant provision.
Your VM is now ready ! =)
Database configuration
Change the value of the database configuration in devops/provisioning/hosts/group_vars/vagrant
Add some conf
Create a .fansible.yml file in the root directory before you generate anything.
Example:
project_name: fansible-devops
timezone: "Europe/Paris"
port: 80
hosts: all
sudo: "true"
vagrant:
ip: 10.0.0.10
box: "ubuntu/trusty64"
memory: 1024
cpus: 1
exec: 100
src: .Customize your provisioning
What you can do:
Add your roles in the
devops/provisioning/rolesdirectory.Modify the playbook to call your roles.
Overide vars (in
devops/provisioning/vars).
