mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 12:38:11 +00:00
bitwarden
This commit is contained in:
parent
f7a80fed8e
commit
1eec43b588
@ -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']
|
@ -40,6 +40,7 @@
|
||||
- kestra.sectorq.eu
|
||||
- auth.sectorq.eu
|
||||
when: inventory_hostname == destination_server
|
||||
|
||||
- name: Get relevant configs
|
||||
ansible.builtin.shell: 'egrep -l "# kestra.sectorq.eu|# auth.sectorq.eu|# ha.sectorq.eu|# pw.sectorq.eu|# semaphore.sectorq.eu|# sectorq.eu|# gitlab.sectorq.eu|# ha.sectorq.eu" /share/docker_data/nginx/data/nginx/proxy_host/*'
|
||||
ignore_errors: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user