Skip to content
This repository has been archived by the owner on Feb 20, 2018. It is now read-only.

Latest commit

 

History

History
31 lines (18 loc) · 607 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 607 Bytes

lostechies ansible scripts

Make sure you have hosts populated in production file

Example:

[webservers]
11.11.11.11

[dbservers]
22.22.22.22

How to run:

ansible-playbook web.yaml -i production -u [username] -k

The -k will prompt you for the password. Look at ansible docs for how to avoid doing this.

Make sure to populate the variables in:

roles/common/vars/main.yaml
web.yaml
db.yaml

Suggestions and best practices welcome.

Ansible Documentation can be found here

Lostechies.com