Refactor structure a bit

This commit is contained in:
Sam A. 2023-10-29 01:49:29 +02:00
parent 470575dc09
commit a6b721c888
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
37 changed files with 16 additions and 15 deletions

View File

@ -1,5 +1,3 @@
[defaults]
remote_user = ubuntu
remote_tmp = /tmp/.ansible
inventory = inventory
use_persistent_connections = true

View File

@ -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
View File

@ -0,0 +1,9 @@
# vim: ft=yaml.ansible
---
- name: App server configuration
hosts: appservers
become: true
become_method: sudo
roles:
- docker
- apps

7
site.yml Normal file
View File

@ -0,0 +1,7 @@
# vim: ft=yaml.ansible
---
- name: Base configuration
hosts: all
remote_user: root
roles:
- common