initial commit
This commit is contained in:
parent
be25770e0d
commit
775c6f8b86
6
tasks/config.yml
Normal file
6
tasks/config.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
- name: Enable nginx service
|
||||||
|
service:
|
||||||
|
name: nginx
|
||||||
|
enabled: yes
|
||||||
|
state: started
|
9
tasks/install.yml
Normal file
9
tasks/install.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
- name: Installing nginx repo rpm
|
||||||
|
yum:
|
||||||
|
name: http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
|
||||||
|
|
||||||
|
- name: Installing NGINX
|
||||||
|
yum:
|
||||||
|
name: nginx
|
||||||
|
state: latest
|
3
tasks/main.yml
Normal file
3
tasks/main.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
- include: install.yml
|
||||||
|
- include: config.yml
|
Loading…
Reference in New Issue
Block a user