My adventure with Ansible.
Go to file
2019-04-07 14:27:08 -07:00
playbook added a small shell file to setup ansible on osx 2019-04-07 14:27:08 -07:00
.gitignore Updatred the hosts file and starting windows testing 2019-04-07 11:37:31 -07:00
ansible.cfg Create ansible.cfg 2019-04-07 11:45:03 -07:00
hosts.template Updatred the hosts file and starting windows testing 2019-04-07 11:37:31 -07:00
installAnsible.sh added a small shell file to setup ansible on osx 2019-04-07 14:27:08 -07:00
README.md PowerShell can be installed on Linux 2019-04-06 11:28:01 -07:00

Ansible

First things first, install ansible

sudo apt-get install ansible

Configuration

doc

The configuration file Changes can be made and used in a configuration file which will be searched for in the following order:

ANSIBLE_CONFIG (environment variable if set) ansible.cfg (in the current directory) ~/.ansible.cfg (in the home directory) /etc/ansible/ansible.cfg

Inventory

The default location for inventory should be placed in /etc/ansible/hosts. But you can always overwrite what inventory file is used with the -i flag

Cheat Sheet

Quick notes for ansible via cmd

ansible -i \inb