- name: set container cfg set_fact: container_role_config: command: "-nginx.scrape-uri=http://{{ hostvars['nginx']['ansible_host'] }}/stub_status"