+ Searx with all required configurations in place
This commit is contained in:
parent
8d8e794257
commit
2d6d4e5dfc
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@ infra/terraform.tfstate.backup
|
|||||||
playbooks/hosts.ini
|
playbooks/hosts.ini
|
||||||
playbooks/.ssh/
|
playbooks/.ssh/
|
||||||
playbooks/.env/
|
playbooks/.env/
|
||||||
|
playbooks/alpha/searx/settings.yml
|
||||||
|
@ -3,6 +3,21 @@
|
|||||||
remote_user: ubuntu
|
remote_user: ubuntu
|
||||||
become: yes
|
become: yes
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Create /var/www/ Configuration Directory
|
||||||
|
file:
|
||||||
|
path: /var/www/
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
- name: Create /var/www/searx/ Searx configuration Directory
|
||||||
|
file:
|
||||||
|
path: /var/www/searx
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
- name: Copy Searx Configuration to /var/www/searx
|
||||||
|
copy:
|
||||||
|
src: settings.yml
|
||||||
|
dest: /var/www/searx/settings.yml
|
||||||
|
|
||||||
- name: Pull latest Searx Repo patches
|
- name: Pull latest Searx Repo patches
|
||||||
community.docker.docker_container:
|
community.docker.docker_container:
|
||||||
name: searx
|
name: searx
|
||||||
@ -10,6 +25,7 @@
|
|||||||
pull: yes
|
pull: yes
|
||||||
restart_policy: always
|
restart_policy: always
|
||||||
recreate: yes
|
recreate: yes
|
||||||
|
volumes:
|
||||||
|
- "/var/www/searx/settings.yml:/etc/searx/settings.yml"
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user