2 - name: Add Rancher Agent
5 image: "{{ server_hostvars.rancher_agent_image }}"
6 command: "{{ server_hostvars.rancher_agent_reg_url }}"
8 - "/var/run/docker.sock:/var/run/docker.sock"
9 - "/var/lib/rancher:/var/lib/rancher"
13 server_hostvars: "{{ hostvars[groups.infrastructure.0] }}"