mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-24 04:49:26 +00:00
6 lines
316 B
YAML
6 lines
316 B
YAML
- 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'] |