ansible/playbooks/reconfigure_nginx.yaml
ladislav.dusa afc7817a81 conf added
2024-12-11 16:33:42 +01:00

7 lines
277 B
YAML
Executable File

---
- debug:
msg: "{{ item }}"
- name: Changing entry in nginx database
ansible.builtin.shell: sqlite3 /share/docker_data/nginx/data/database.sqlite "UPDATE proxy_host SET forward_host = '{{ destination_server}}' WHERE domain_names = '[\"{{ item }}\"]'"
become: true