+ Init playbook for setting up static server

This commit is contained in:
shockrah 2021-12-11 17:26:46 -08:00
parent babd9bbe81
commit 52e505fba8

View File

@ -2,6 +2,14 @@
- hosts: beta - hosts: beta
remote_user: ubuntu remote_user: ubuntu
tasks: tasks:
- name: Install snapd package manager
become: yes
become_method: sudo
apt:
name: snapd
update_cache: yes
state: present
- name: Install Nginx - name: Install Nginx
become: yes become: yes
become_method: sudo become_method: sudo
@ -10,3 +18,15 @@
update_cache: yes update_cache: yes
state: present state: present
- name: Update Snap
community.general.snap:
name: core
state: present
- name: Install Certbot Snap Package
community.general.snap:
name: certbot
classic: yes