Refactor structure a bit
This commit is contained in:
parent
470575dc09
commit
a6b721c888
|
@ -1,5 +1,3 @@
|
||||||
[defaults]
|
[defaults]
|
||||||
remote_user = ubuntu
|
|
||||||
remote_tmp = /tmp/.ansible
|
remote_tmp = /tmp/.ansible
|
||||||
inventory = inventory
|
|
||||||
use_persistent_connections = true
|
use_persistent_connections = true
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
# vim: ft=yaml.ansible
|
|
||||||
---
|
|
||||||
- name: Deploy self-hosted services
|
|
||||||
hosts: all
|
|
||||||
gather_facts: true
|
|
||||||
become: true
|
|
||||||
roles:
|
|
||||||
- role: os_config
|
|
||||||
tags:
|
|
||||||
- os
|
|
||||||
- role: docker_services
|
|
||||||
tags:
|
|
||||||
- docker
|
|
9
playbooks/appservers.yml
Normal file
9
playbooks/appservers.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# vim: ft=yaml.ansible
|
||||||
|
---
|
||||||
|
- name: App server configuration
|
||||||
|
hosts: appservers
|
||||||
|
become: true
|
||||||
|
become_method: sudo
|
||||||
|
roles:
|
||||||
|
- docker
|
||||||
|
- apps
|
Loading…
Reference in a new issue