- 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']