File tree 2 files changed +3
-6
lines changed
_common-files/opt/cloudstack
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ sed -i "s/\$domain/$dom/g" /etc/apache2/sites-available/001-default.conf
72
72
73
73
a2enconf block-xmlrpc > /dev/null 2>&1
74
74
75
+ wp plugin install wp-fail2ban --allow-root --path=" /var/www/html"
76
+ wp plugin activate wp-fail2ban --allow-root --path=" /var/www/html"
77
+
75
78
chown -Rf www-data.www-data /var/www/
76
79
77
80
systemctl restart apache2
Original file line number Diff line number Diff line change 297
297
dest : /usr/bin/wp
298
298
mode : ' 0755'
299
299
300
- - name : Installating fail2ban Plugin
301
- shell : " {{ item }}"
302
- with_items :
303
- - wp plugin install wp-fail2ban --allow-root --path="/var/www/html"
304
- - wp plugin activate wp-fail2ban --allow-root --path="/var/www/html"
305
-
306
300
- name : Installing postfix
307
301
apt :
308
302
name : [ 'postfix' , 'mailutils' ]
You can’t perform that action at this time.
0 commit comments