mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-10-30 09:51:10 +01:00
111
This commit is contained in:
6
playbooks/reconfigure_nginx.yaml
Normal file
6
playbooks/reconfigure_nginx.yaml
Normal file
@@ -0,0 +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 }}\"]'"
|
||||
become: true
|
||||
when: inventory_hostname in groups['raspberrypi5']
|
||||
Reference in New Issue
Block a user