diff --git a/playbooks/alpha/nginx.yml b/playbooks/alpha/nginx.yml new file mode 100644 index 0000000..ff9bd2a --- /dev/null +++ b/playbooks/alpha/nginx.yml @@ -0,0 +1,25 @@ +# 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 + diff --git a/playbooks/alpha/searx/main.yml b/playbooks/alpha/searx/main.yml new file mode 100644 index 0000000..253eae7 --- /dev/null +++ b/playbooks/alpha/searx/main.yml @@ -0,0 +1,15 @@ +--- +- hosts: alpha + remote_user: ubuntu + become: yes + tasks: + - name: Pull latest Searx Repo patches + community.docker.docker_container: + name: searx + image: searx/searx + pull: yes + restart_policy: always + recreate: yes + ports: + - "8080:8080" +