-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
60 lines (59 loc) · 1.43 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#WORDPRESS
wordpress_installs:
- name: wordpress
dbname: wordpress
dbuser: wordpress
dbpass: 'heCrE7*d2KEs'
dbhost: localhost
path: /var/www/html/wordpress/
url: http://10.10.10.10
title: wordpress
admin_name: admin
admin_email: [email protected]
admin_password: 'tuFr8=aPra@a'
themes:
- name: twentytwelve
activate: true
- name: twentythirteen
plugins:
- name: contact-form-7
activate: false
- name: simple-fields
users: {}
options: []
queries: []
#Apache
apache_remove_default_vhost: true
apache_vhosts:
# Additional optional properties: 'serveradmin, serveralias, extra_parameters'.
- servername: "10.10.10.10"
documentroot: "/var/www/html/wordpress"
#MYSQL
mysql_root_password: 'heCrE7*d2KEsheCrE7*d2KEs'
mysql_databases:
- name: wordpress
encoding: utf8
collation: utf8_general_ci
mysql_users:
- name: wordpress
host: localhost
password: 'heCrE7*d2KEs'
priv: "wordpress.*:ALL"
# PHP
php_memory_limit: "128M"
php_max_execution_time: "90"
php_upload_max_filesize: "256M"
php_default_version_debian: "7.2"
php_install_recommends: true
php_enable_webserver: true
php_packages_extra:
- libapache2-mod-php7.2
# The executable to run when calling PHP from the command line.
php_executable: "php"
# FAIL2BAN
fail2ban_services:
# In older versions of Fail2Ban this is called ssh
- name: sshd
port: 2222
maxretry: 5
bantime: -1