-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.yaml
More file actions
116 lines (97 loc) · 2.13 KB
/
Copy pathdeploy.yaml
File metadata and controls
116 lines (97 loc) · 2.13 KB
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
- hosts: localhost
gather_facts: no
connection: local
roles:
- folders
- folder_permissions
- pfsense_deploy_provision
- template_deployment
- hosts: AD
gather_facts: no
roles:
- windows_server_provision_AD
- hosts: Rouge_Windows, CentOS, Ubuntu, WEB, DB, Gaming_Forum, GIT
gather_facts: no
strategy: free
tasks:
- name: Wait For connection up
wait_for_connection:
timeout: 30000
- hosts: Rouge_Windows, CentOS, Ubuntu, WEB, DB, Gaming_Forum, GIT
roles:
- local_users_Linux
#
- hosts: Rouge_Windows, Ubuntu, Traveler
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: Windows_10, Windows_Core, FTP
gather_facts: no
roles:
- Windows_Client_Provision
- hosts: WEB, DB, GIT
become: yes
roles:
- disable_firewall
- hosts: DB
become: true
roles:
- ansible-role-mysql-master
- hosts: WEB
become: true
roles:
# - geerlingguy.composer
- install_php
- ansible-role-apache-master
- ansible-role-apache-php-fpm-master
- ansible-role-composer-master
- install_magento
- hosts: DB
become: true
roles:
- ansible-docker-master
- hosts: Gaming_Forum
become: true
tasks:
- name: install pexpect
pip:
name: pexpect
executable: pip
- name: install pexpect
pip:
name: pexpect
executable: pip3
become: yes
- hosts: Gaming_Forum
become: true
roles:
- ansible-discourse-role
- hosts: GIT
become: yes
roles:
- ansible-role-repo-epel-master
- hosts: GIT
become: yes
tasks:
- name: Install dependencies
yum:
name:
- python3-setuptools
- python-setuptools
- python-pip
- python3-pip
state: latest
update_cache: True
- name: install pexpect
pip:
name: pexpect
become: yes
- hosts: GIT
become: yes
roles:
- gitlab
- hosts: Rouge_Windows
become: yes
roles:
- powershell-ubuntu-role