Basic NGINX Setup
This commit is contained in:
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"ansible.python.interpreterPath": "/bin/python"
|
"ansible.python.interpreterPath": "/var/home/ptoal/.virtualenvs/ansible/bin/python"
|
||||||
}
|
}
|
||||||
13
install_nginx.yml
Normal file
13
install_nginx.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
- name: Ensure Nginx is installed and configured
|
||||||
|
hosts: bab1.mgmt.toal.ca
|
||||||
|
become: true
|
||||||
|
tasks:
|
||||||
|
|
||||||
|
- name: Nginx Installed
|
||||||
|
ansible.builtin.include_role:
|
||||||
|
name: nginxinc.nginx_core.nginx
|
||||||
|
|
||||||
|
- name: Nginx Configured to serve Front-end Application
|
||||||
|
ansible.builtin.include_role:
|
||||||
|
name: nginxinc.nginx_core.nginx_config
|
||||||
3
requirements.yml
Normal file
3
requirements.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
collections:
|
||||||
|
- name: nginxinc.nginx_core
|
||||||
|
version: 0.8.0
|
||||||
Reference in New Issue
Block a user