From dd6d93e51bcc6472f275f6259267f6fbbda0d918 Mon Sep 17 00:00:00 2001 From: Nareshkumar Rao Date: Sat, 25 Jun 2022 00:07:48 +0200 Subject: [PATCH] changed exec user, added staging --- provision.yml | 3 ++- roles/wordpress/tasks/main.yml | 2 +- vars.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/provision.yml b/provision.yml index c55070a..5fe33a3 100644 --- a/provision.yml +++ b/provision.yml @@ -1,7 +1,8 @@ --- - name: Provision PSM Server hosts: psmcentral - remote_user: root + remote_user: naresh + become: yes roles: - wordpress - security diff --git a/roles/wordpress/tasks/main.yml b/roles/wordpress/tasks/main.yml index 298a528..e3af12d 100644 --- a/roles/wordpress/tasks/main.yml +++ b/roles/wordpress/tasks/main.yml @@ -6,7 +6,7 @@ - name: Install Wordpress Pre-Reqs apt: - name: php-curl, php-imagick, php-json, php-mbstring, php-xml, php-zip, php-gd, ghostscript, imagemagick + name: php-curl, php-imagick, php-json, php-mbstring, php-xml, php-zip, php-gd, ghostscript, imagemagick, sendmail state: present - name: Loop over sites to setup diff --git a/vars.yml b/vars.yml index 7ca4276..57f7e60 100644 --- a/vars.yml +++ b/vars.yml @@ -1,8 +1,8 @@ --- # Website Configurations site_urls: - - psm.msolidariti.org - partisosialis.org + - staging.partisosialis.org admin_email: naresh@msolidariti.org # LetsEncrypt Configuration