This repository has been archived on 2024-05-02. You can view files and clone it, but cannot push or open issues or pull requests.
omni-ansible/playbooks/configure-webproxy.yml
Ethan Paul ae0be16dd6
Implement configure-webproxy for setting up basic nginx server
Fix init playbook
Add nginx config
Fix networkd install on fedora
2020-12-07 20:27:09 -05:00

29 lines
580 B
YAML

---
- import_playbook: initialize.yml
- name: Install Nginx
hosts: jupiter
handlers:
- name: restart-nginx
import_tasks: tasks/nginx/services.yml
tasks:
- import_tasks: tasks/nginx/install.yml
- name: Install configuration
become: true
copy:
src: nginx.conf
dest: /etc/nginx/nginx.conf
notify:
- restart-nginx
- name: Set required SELinux options
become: true
seboolean:
name: httpd_can_network_connect
persistent: true
state: true
notify:
- restart-nginx