No description
Find a file
2025-10-06 22:40:44 +00:00
defaults initial commit 2025-10-06 22:40:44 +00:00
meta initial commit 2025-10-06 22:40:44 +00:00
tasks initial commit 2025-10-06 22:40:44 +00:00
.gitignore initial commit 2025-10-06 22:40:44 +00:00
README.md initial commit 2025-10-06 22:40:44 +00:00

ansible-roles-searxng

This role deploys searxng search engine proxy

- https://docs.trysearxng.com/production/containers/docker

Task Configuration

- name: Setup searxng
  hosts: somehost
  become: true
  roles:
    - role: searxng
    - role: firewalld
      firewalld_add:
        - name: public
          ports:
            - 8002/tcp

Deployment and Removal

systemctl --user stop container-searxng.service

Deploy

ansible-playbook -i hosts site.yml --tags=firewalld,searxng --limit=somehost

Remove

ansible-playbook -i hosts site.yml --tags=firewalld,searxng --extra-vars "container_state=absent firewall_action=remove" --limit=somehost