From 52e505fba8244aa0b1bdaffc72304305be249ff7 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 11 Dec 2021 17:26:46 -0800 Subject: [PATCH] + Init playbook for setting up static server --- playbooks/beta/init.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/playbooks/beta/init.yml b/playbooks/beta/init.yml index 3421035..9171ea8 100644 --- a/playbooks/beta/init.yml +++ b/playbooks/beta/init.yml @@ -2,6 +2,14 @@ - hosts: beta remote_user: ubuntu tasks: + - name: Install snapd package manager + become: yes + become_method: sudo + apt: + name: snapd + update_cache: yes + state: present + - name: Install Nginx become: yes become_method: sudo @@ -10,3 +18,15 @@ update_cache: yes state: present + - name: Update Snap + community.general.snap: + name: core + state: present + + - name: Install Certbot Snap Package + community.general.snap: + name: certbot + classic: yes + + +