Simple host names in etc/hosts which arent used just yet
This commit is contained in:
1 parent
cfb7114597
commit
715ac65831
2 files changed
+17
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# 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
|
||||
Reference in new issue
Block a user