1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-12-16 07:20:36 +00:00

Update syntax and install nginx module

This commit is contained in:
Kris Lamoureux 2020-06-11 11:49:37 -04:00
parent 82699c7881
commit 071e8c8531
Signed by: kris
GPG Key ID: A30022791E1719A4

View File

@ -26,11 +26,8 @@
- name: install nginx, passenger - name: install nginx, passenger
yum: yum:
name: '{{ item }}' name: ['nginx', 'passenger', 'nginx-mod-http-passenger']
become: yes become: yes
with_items:
- nginx
- passenger
- name: check for dharam pem file - name: check for dharam pem file
stat: stat:
@ -44,7 +41,7 @@
notify: restart nginx notify: restart nginx
when: dharam_pem.stat.exists == False when: dharam_pem.stat.exists == False
- name: install easyredmine.conf to Nginx - name: install easyredmine.conf to Nginx
template: template:
dest: '/etc/nginx/conf.d/easyredmine.conf' dest: '/etc/nginx/conf.d/easyredmine.conf'
src: easyredmine.conf.j2 src: easyredmine.conf.j2