rice/lab/tasks/setup-etc-hosts.yml

10 lines
263 B
YAML
Raw Normal View History

# Allows the host to resolve names that we use in cluster
- name: Ensure host can resolve its own service names
lineinfile:
path: /etc/hosts
state: present
line: "192.168.1.100 {{ item }}"
loop:
- files.cluster.local
- nginx.cluster.local