Basic NGINX Setup

This commit is contained in:
2023-12-02 14:18:11 -05:00
parent e3a33ef0e4
commit 8cfea3c672
3 changed files with 17 additions and 1 deletions

View File

@@ -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
View 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
View File

@@ -0,0 +1,3 @@
collections:
- name: nginxinc.nginx_core
version: 0.8.0