Use simpler file structure

This commit is contained in:
Sonny Bakker 2021-01-31 10:46:42 +01:00
parent 3bca1176a4
commit 7f6381b33c
17 changed files with 152 additions and 122 deletions

View file

@ -1,5 +1,29 @@
- hosts: gitlab
become: yes
become: true
become_method: sudo
pre_tasks:
- name: install packages
apt:
name: '{{ packages }}'
state: present
- include_role:
name: common
tasks_from: 'setup.yml'
- include_role:
name: common
tasks_from: 'network.yml'
- include_role:
name: common
tasks_from: 'host.yml'
roles:
- gitlab
- common
tasks:
- include_role:
name: common
tasks_from: 'ssl.yml'
- import_tasks: 'tasks.yml'
vars_files:
- 'vars/main.yml'
- 'vars/network.yml'
- 'vars/postgres.yml'
- 'vars/email.yml'