klips/ansible
Shaun Reed c05891c5ae Fix username typo 2019-09-06 23:12:13 +00:00
..
roles Fix username typo 2019-09-06 23:12:13 +00:00
README.md Fix READMEs 2019-08-31 03:08:24 -04:00
apt-up.yml Ansible nginx role using ansible-galaxy 2019-08-18 03:18:41 +00:00
core.yml Add general core server configuration 2019-08-29 09:35:19 +00:00
docker.yml Update example playbooks for using new roles 2019-08-29 07:37:55 +00:00
hosts Add example playbook for using multiple roles together 2019-08-29 09:48:53 +00:00
make-host.yml Add example playbook for using multiple roles together 2019-08-29 09:48:53 +00:00
nginx.yml Update example playbooks for using new roles 2019-08-29 07:37:55 +00:00

README.md

Ansible

A few simple roles / plays I've been able to piece together in learning how to use Ansible.

Playbooks

  • apt-up.yml - Playbook to update servers / groups ad hoc
  • core.yml - Playbook example for using core configuration role
  • docker.yml - Playbook example for using docker install role (Debian / Ubuntu)
  • hosts - Sample / partially default ansible hosts file
  • make-host.yml - Playbook example for using multiple roles together to create a new host
  • nginx.yml - Playbook example for using nginx role

Roles

  • Basic ansible role created with ansible-galaxy command
  • core - Role to configure a new host with basic authentication / package settings
  • docker - Role to install docker, docker-compose, configure docker user group (Debian / Ubuntu)
  • nginx - Role to install and configure a new nginx webserver on a host