-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathconfig.yml
116 lines (111 loc) · 2.54 KB
/
config.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#support multiple orgs eventually
org: Hyrule Ventures
org_desc: Mining Rupees Daily
users:
- username: link
email: [email protected]
first_name: Link
is_superuser: yes
last_name: Smith
- username: gdorf
email: [email protected]
first_name: Gannon
is_superuser: false
last_name: Dorf
- username: zelda
email: [email protected]
first_name: Zelda
is_superuser: false
last_name: Smith
- username: epona
email: [email protected]
first_name: Epona
is_superuser: false
last_name: Horse
- username: demise
email: [email protected]
first_name: De
is_superuser: false
last_name: Mise
teams:
- name: Ops
description: The Ops Team
users:
- link
- name: QA
description: The QA Team
users:
- gdorf
- name: Dev
description: The Dev Team
users:
- zelda
credentials:
- name: EC2 SSH
description: Used for EC2 instances
team: Ops
kind: ssh
username: root
private_key: /Users/jmartin/.ssh/ida_rsa
- name: Local SSH
description: Used for vagrant instances
team: Ops
kind: ssh
username: vagrant
private_key: /Users/jmartin/.vagrant.d/insecure_private_key
- name: AWS creds
description: Used for AWS
team: Ops
kind: aws
username: YOU
password: CANTHANDLETHIS
- name: RAX creds
description: Used for Rackspace
team: Ops
kind: rax
username: me
password: noyoucant
inventories:
- name: Production
description: Production Machines
groups:
- name: EC2
credential: AWS creds
source: ec2
description: EC2 hosts
- name: RAX
credential: RAX creds
source: rax
description: RAX hosts
- name: Test
description: Test Machines
groups:
- name: web
source: manual
hosts:
- name: 10.42.0.6
- name: 10.42.0.7
- name: 10.42.0.8
- name: 10.42.0.9
- name: 10.42.0.10
- name: QA
description: QA Machines
projects:
- name: Hyrulian Playbooks
description: Configures all the servers in Hyrule.
scm_type: git
scm_url: https://github.com/jsmartin/tower-demo-example-simple
- name: Ansible Examples
description: Some example roles and playbooks
scm_type: git
scm_url: https://github.com/ansible/ansible-examples
job_templates:
- name: Apache
description: Confgure Apache servers
inventory: Test
project: Hyrulian Playbooks
playbook: site.yml
machine_credential: Local SSH
job_type: run
verbosity: 0
forks: 5