mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-10-30 18:01:11 +01:00
bitwarden
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- 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 = '192.168.77.238' WHERE domain_names = '[\"{{ item }}\"]'"
|
||||
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
|
||||
when: inventory_hostname in groups['raspberrypi5']
|
||||
Reference in New Issue
Block a user