-
Notifications
You must be signed in to change notification settings - Fork 1
/
playbook.yml
41 lines (36 loc) · 909 Bytes
/
playbook.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
- hosts: cluster:!secondary_stacks
become: true
roles:
- role: ubuntu-unattended_upgrades
vars:
ubuntu_unattended_upgrades_install_backports: true
ubuntu_unattended_upgrades_remove_unused: true
ubuntu_unattended_upgrades_reboot: true
ubuntu_unattended_upgrades_reboot_time: "02:00"
tags: infra
- hosts: all:!secondary_stacks
become: true
roles:
- docker
- docker-simple_swarm
- traefik
tags: infra
- hosts: all:!secondary_stacks
roles:
- deploy
tags: [never, gitlab_deployment]
- hosts: all
roles:
- makeatstate
tags: app
- hosts: review
tasks:
- name: Destroy review stack.
include_role:
name: makeatstate
tasks_from: destroy_stack
vars:
stack_name: "{{ makeatstate_stack_name }}"
destroy_stack_name_pattern: "makeatstate_(test|review)-"
tags: [never, app-destroy]