+ Basic searx seutp

This commit is contained in:
shockrah 2021-12-26 14:07:54 -08:00
parent 962885470b
commit a4f9020a7e
2 changed files with 40 additions and 0 deletions

25
playbooks/alpha/nginx.yml Normal file
View File

@ -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

View File

@ -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"