Files
infra/playbooks/alpha/nginx.yml

26 lines
608 B
YAML
Raw Normal View History

2021-12-26 14:07:54 -08:00
# This playbook just installs nginx so that it is ready to configure
# we don't bother with extra user accounts like with Beta because we
# are only concerned with using nginx to serve fully containerized
# applications. Not static files
---
- hosts: alpha
tasks:
- name: Install Nginx
become: yes
apt:
name: nginx
update_cache: yes
state: present
- name: Update Snap
become: yes
community.general.snap:
name: core
state: present
- name: Install Certbot
community.general.snap:
name: certbot
classic: yes