-
Notifications
You must be signed in to change notification settings - Fork 9
/
contribute_setup.yml
54 lines (39 loc) · 1.64 KB
/
contribute_setup.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
46
47
48
49
50
51
52
53
54
---
- import_playbook: contribute_bootstrap.yml
- hosts: localhost
gather_facts: False
tasks:
- name: Copy development vault to the project
copy:
src: ../railway-credentials/development_vault
dest: inventories/development/group_vars/all/vault
mode: 0600
- name: Copy production vault to the project
copy:
src: ../railway-credentials/production_vault
dest: inventories/production/group_vars/all/vault
mode: 0600
- name: Copy development EC2 key pair to the project
copy:
src: ../railway-credentials/ansible-ec2-development.pem
dest: roles/aws_ec2_create/files/ansible-ec2-development.pem
- name: Copy production EC2 key pair to the project
copy:
src: ../railway-credentials/ansible-ec2-production.pem
dest: roles/aws_ec2_create/files/ansible-ec2-production.pem
- name: Copy the development deploy key to the project
copy:
src: ../railway-credentials/development_deploy_id_rsa
dest: roles/app_bootstrap/files/development/deploy_id_rsa
- name: Copy the production deploy key to the project
copy:
src: ../railway-credentials/production_deploy_id_rsa
dest: roles/app_bootstrap/files/production/deploy_id_rsa
- name: Copy the development master key to the project
copy:
src: ../railway-credentials/development_master.key
dest: roles/app_bootstrap/files/development/master.key
- name: Copy the production master key to the project
copy:
src: ../railway-credentials/production_master.key
dest: roles/app_bootstrap/files/production/master.key