Update example playbooks for using new roles
This commit is contained in:
parent
e14b3cea8f
commit
af07610006
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
- hosts: docker-host
|
||||||
|
become: yes
|
||||||
|
roles:
|
||||||
|
- docker
|
|
@ -19,6 +19,12 @@ sub.domain.com:22
|
||||||
sub.domain.com:22
|
sub.domain.com:22
|
||||||
127.0.0.1:22
|
127.0.0.1:22
|
||||||
|
|
||||||
|
[nginx-server]
|
||||||
|
sub.domain.com:22
|
||||||
|
|
||||||
|
[docker-host]
|
||||||
|
127.0.0.1:22
|
||||||
|
|
||||||
## green.example.com
|
## green.example.com
|
||||||
## blue.example.com
|
## blue.example.com
|
||||||
## 192.168.100.1
|
## 192.168.100.1
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
- hosts: nginx
|
- hosts: nginx-server
|
||||||
become: yes
|
become: yes
|
||||||
roles:
|
roles:
|
||||||
- nginx
|
- nginx
|
||||||
- core
|
|
||||||
|
|
Loading…
Reference in New Issue