initial commit

This commit is contained in:
Robert Kaussow 2017-07-15 15:45:46 +02:00
parent be25770e0d
commit 775c6f8b86
3 changed files with 18 additions and 0 deletions

6
tasks/config.yml Normal file
View File

@ -0,0 +1,6 @@
---
- name: Enable nginx service
service:
name: nginx
enabled: yes
state: started

9
tasks/install.yml Normal file
View 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
View File

@ -0,0 +1,3 @@
---
- include: install.yml
- include: config.yml