An open API service indexing awesome lists of open source software.

https://github.com/dgapitts/vagrant-ansible-for-devops-3nodes

Following ansible-for-devops course use vagrant to spin up 3 nodes - 2app and 1db
https://github.com/dgapitts/vagrant-ansible-for-devops-3nodes

Last synced: 4 months ago
JSON representation

Following ansible-for-devops course use vagrant to spin up 3 nodes - 2app and 1db

Awesome Lists containing this project

README

          

## Summary

Following "Ansible 101 by Jeff Geerling" and pleased to have a 3 node cluser running with vagrant and ansible provisioning.

Had to tweak my inventory file

# Cannot handle SSH host authenticity prompts for multiple hosts
# https://stackoverflow.com/questions/23074412/how-to-set-host-key-checking-false-in-ansible-inventory-file
ansible_ssh_common_args='-o StrictHostKeyChecking=no'

## First run

~/projects/vagrant-ansible-for-devops-3nodes$ ansible -i inventory.ini multi -a "hostname"
192.168.60.4 | CHANGED | rc=0 >>
orc-app1.dev
192.168.60.6 | CHANGED | rc=0 >>
orc-db.dev
192.168.60.5 | CHANGED | rc=0 >>
orc-app2.dev

## Examples

* [Hello-Playbook-World - running on localhost1](docs/001-Hello-Playbook-World.md)
* [Hello-Playbook-World with hardcode `db` host](docs/002-Hello-Playbook-World-hardcode-db-host.md)