38 lines
767 B
YAML
38 lines
767 B
YAML
|
---
|
||
|
# TBW
|
||
|
|
||
|
# - name: Install Nginx
|
||
|
# hosts: jupiter
|
||
|
# handlers:
|
||
|
# - name: restart_nginx
|
||
|
# become: true
|
||
|
# systemd:
|
||
|
# name: nginx
|
||
|
# state: restarted
|
||
|
# tasks:
|
||
|
# - name: Install nginx and certbot
|
||
|
# become: true
|
||
|
# dnf:
|
||
|
# name:
|
||
|
# - nginx
|
||
|
# - certbot
|
||
|
# - python3-certbot-nginx
|
||
|
# state: present
|
||
|
#
|
||
|
# - name: Enable and start nginx
|
||
|
# become: true
|
||
|
# systemd:
|
||
|
# name: nginx
|
||
|
# state: started
|
||
|
# enabled: true
|
||
|
#
|
||
|
# - name: Install configuration
|
||
|
# become: true
|
||
|
# copy:
|
||
|
# src: nginx.conf
|
||
|
# dest: /etc/nginx/nginx.conf
|
||
|
# notify:
|
||
|
# - restart_nginx
|
||
|
#
|
||
|
# # sudo setsebool -P httpd_can_network_connect on
|