-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathenv.yml
45 lines (41 loc) · 835 Bytes
/
env.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
42
43
44
45
---
- name: Provision EC2 instances
hosts: localhost
connection: local
vars_files:
- secrets.yml
roles:
- role: env_hosts
tags: [ provision ]
- name: Deploy Consul
hosts: tag_Name_vault
become: yes
vars:
- ansible_ssh_user: "{{ hosts.vault.user }}"
vars_files:
- secrets.yml
roles:
- role: consul
tags: [ consul ]
- name: Deploy Vault
hosts: tag_Name_vault
become: yes
vars:
- ansible_ssh_user: "{{ hosts.vault.user }}"
- deployable: "{{ vault.deployable }}"
vars_files:
- secrets.yml
roles:
- role: vault
- role: ssl_certs
tags: [ vault ]
- name: Setup haproxy for vault
hosts: tag_Name_haproxy_vault
become: yes
vars:
- ansible_ssh_user: "{{ hosts.haproxy.user }}"
vars_files:
- secrets.yml
roles:
- role: haproxy
tags: [ haproxy ]