Browse Source

changed exec user, added staging

master
Nareshkumar Rao 2 years ago
parent
commit
dd6d93e51b
  1. 3
      provision.yml
  2. 2
      roles/wordpress/tasks/main.yml
  3. 2
      vars.yml

3
provision.yml

@ -1,7 +1,8 @@
--- ---
- name: Provision PSM Server - name: Provision PSM Server
hosts: psmcentral hosts: psmcentral
remote_user: root
remote_user: naresh
become: yes
roles: roles:
- wordpress - wordpress
- security - security

2
roles/wordpress/tasks/main.yml

@ -6,7 +6,7 @@
- name: Install Wordpress Pre-Reqs - name: Install Wordpress Pre-Reqs
apt: 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 state: present
- name: Loop over sites to setup - name: Loop over sites to setup

2
vars.yml

@ -1,8 +1,8 @@
--- ---
# Website Configurations # Website Configurations
site_urls: site_urls:
- psm.msolidariti.org
- partisosialis.org - partisosialis.org
- staging.partisosialis.org
admin_email: naresh@msolidariti.org admin_email: naresh@msolidariti.org
# LetsEncrypt Configuration # LetsEncrypt Configuration

Loading…
Cancel
Save