Ethan Paul
0a7b67b6c5
provision playbooks now establish platform-related components of the macro system configure playbooks now configure/update/establish specific subcomponents of systems deploy playbooks will eventually deploy specific applications onto the platform
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
|