Skip to content

Instantly share code, notes, and snippets.

View WDC's full-sized avatar

David M. Lemcoe Jr. WDC

View GitHub Profile
@WDC
WDC / nginx-centos7.yml
Last active December 12, 2019 20:17 — forked from icasimpan/nginx-centos7.yml
Sample ansible playbook to install nginx with sample page on CentOS7
## Credits to John Lieske - https://www.ansible.com/blog/getting-started-writing-your-first-playbook
---
- name: Install nginx
hosts: all
become: true
tasks:
- name: Add epel-release repo
yum:
name: epel-release