Update example playbooks for using new roles

This commit is contained in:
Shaun Reed 2019-08-29 07:37:55 +00:00
parent e14b3cea8f
commit af07610006
3 changed files with 12 additions and 2 deletions

5
ansible/docker.yml Normal file
View File

@ -0,0 +1,5 @@
---
- hosts: docker-host
become: yes
roles:
- docker

View File

@ -19,6 +19,12 @@ sub.domain.com:22
sub.domain.com:22
127.0.0.1:22
[nginx-server]
sub.domain.com:22
[docker-host]
127.0.0.1:22
## green.example.com
## blue.example.com
## 192.168.100.1

View File

@ -1,6 +1,5 @@
---
- hosts: nginx
- hosts: nginx-server
become: yes
roles:
- nginx
- core