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:
parent
82699c7881
commit
071e8c8531
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user