GitXplorerGitXplorer
d

ansible-project-bootstrap

public
66 stars
11 forks
0 issues

Commits

List of commits on branch master.
Unverified
c614754a9b7dc1de9258c73b6574345cfff9fe27

increase nginx worker connections

ddcrec1 committed 3 years ago
Unverified
2f30d02d312f86e4c4b4f82012b86ac157578295

configure bundler and run setup once

ddcrec1 committed 4 years ago
Unverified
ed1ca01c4d1a97e9835a1920c6e4f6c963ab724b

update to Ansible 2 with inventory plugins

ddcrec1 committed 4 years ago
Unverified
ca0967b91a548fa06a3b386d4b40a9c82287fa98

add node version as a variable

ddcrec1 committed 5 years ago
Unverified
79cca09320092f8d92f934c47908717023621d80

add dynamic aws inventory files

ddcrec1 committed 5 years ago
Unverified
1a57cccf4a830ccfba081f9fd4e34da2f194f261

fix shell

ddcrec1 committed 5 years ago

README

The README file for this repository.

Use this repository as a bootstrap for your organization custom Ansible project.

In case you're new to Ansible, I added some demo playbooks to understand how you should do things. You should configure your inventory and then run the playbooks like this:

ansible-playbook -i inventory/production/demo provision_demo.yml

You can watch a demo here.

The content of this project was created following the Ansible best practices:

https://docs.ansible.com/playbooks_best_practices.html#content-organization

Recommended usage

  1. Clone this project to a private repository and use it to version your organization infraestructure. You can name the repository something like infra or provisioning.

  2. For each application, create a playbook and an inventory (use the demo files as examples).

  3. Use the existent roles or create new ones, remove tasks that you don't need and add tasks you need, know what the roles are doing and keep things simple.

Included roles

  • deploy (creates a deploy specific user and copies ssh keys)
  • dev (installs common packages like autoconf and build essentials)
  • git
  • grafana
  • imagemagick
  • influxdb
  • jenkins
  • jre
  • mysql-client
  • mysql-server
  • nginx
  • nodejs
  • phantomjs
  • postgresql-client
  • postgresql-server
  • puma
  • rails
  • rails-deploy
  • redis
  • ruby
  • sidekiq
  • unicorn