-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.yaml
56 lines (47 loc) · 1.25 KB
/
deploy.yaml
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
- hosts: localhost
gather_facts: no
connection: local
roles:
- folders
- folder_permissions
- pfsense_deploy_provision
- template_deployment
- hosts: Active_Directory
gather_facts: no
roles:
- windows_server_provision_AD
- hosts: Ubuntu1, Ubuntu2, Ubuntu3, CentOS, WEB, DB, DevServer, FTP
gather_facts: no
strategy: free
tasks:
- name: Wait For connection up
wait_for_connection:
timeout: 30000
- hosts: Ubuntu1, Ubuntu2, Ubuntu3, CentOS, WEB, DB, DevServer, FTP
roles:
- local_users_Linux
- hosts: Ubuntu1, Ubuntu2, Ubuntu3, CentOS, WEB, DB, DevServer, FTP
tasks:
- name: Misconfigured DNS
raw: echo "nameserver 8.8.8.8" >> /etc/resolvconf/resolv.conf.d/head ; resolvconf --enable-updates ; resolvconf -u #sed -i -e 's/8.8.8.8/nameserver 8.8.8.8/g' /etc/resolv.conf
become: true
- hosts: Ubuntu1, Ubuntu2, Ubuntu3, CentOS, WEB, DB, DevServer, FTP
become: yes
roles:
- disable_firewall
- hosts: DB
become: true
roles:
- ansible-role-mysql-master
- hosts: DB
become: true
roles:
- ansible-docker-master
#- hosts: IT_Station
# become: yes
# roles:
# - powershell-Ubuntu2-role
- hosts: Windows1, Windows2
gather_facts: no
roles:
- Windows_Client_Provision