-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
40 lines (32 loc) · 950 Bytes
/
main.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
---
- name: Configure master
hosts: localhost
gather_facts: no
roles:
# - role: "roles/1-create-ec2"
# connection: local
# - role: "roles/2-add-to-host-group"
# delegate_to: "{{ public_ip_address }}"
# delegate_facts: true
# become: true
# - role: "roles/3-download-jenkins"
# connection: local
# # delegate_to: "{{ public_ip_address }}"
# # delegate_facts: true
# become: true
# - role: "roles/4-install-nginx-config"
# delegate_to: "{{ public_ip_address }}"
# delegate_facts: true
# become: true
- role: "roles/5-jenkins-config"
connection: local
# delegate_facts: true
become: true
# - role: "roles/6-configure-ec2-plugin"
# delegate_to: "http://localhost:8080/"
# delegate_facts: true
# become: true
- role: "roles/7-jobs"
connection: local
# delegate_facts: true
# become: true