+ Basic searx seutp
This commit is contained in:
parent
962885470b
commit
a4f9020a7e
25
playbooks/alpha/nginx.yml
Normal file
25
playbooks/alpha/nginx.yml
Normal 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
|
||||||
|
|
15
playbooks/alpha/searx/main.yml
Normal file
15
playbooks/alpha/searx/main.yml
Normal 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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user