summaryrefslogtreecommitdiffstats
path: root/vagrant/ansible/roles/node.prep/tasks/main.yml
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2020-03-25 21:33:54 +0100
committerMichael Adam <obnox@samba.org>2020-03-25 22:32:23 +0100
commit600c764f5ee934fd8848ad361d35ae2968ffccc6 (patch)
tree8f7f01f25aeba3e6a0f08f0ee0cd260c4ee5cedb /vagrant/ansible/roles/node.prep/tasks/main.yml
parent4650647c81d052d5141c5ba3e3680b79c4cb9ef7 (diff)
downloadsamba-integration-600c764f5ee934fd8848ad361d35ae2968ffccc6.tar.gz
samba-integration-600c764f5ee934fd8848ad361d35ae2968ffccc6.tar.xz
samba-integration-600c764f5ee934fd8848ad361d35ae2968ffccc6.zip
Add a hosts file and distribute it to the nodes.
This is an attempt to unblock the issue with peer-probe in the centos-ci due to lack of name resolution from libvirt/dnsmasq. For now, the hosts file is hard-coded. If this works, we should generate it. Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'vagrant/ansible/roles/node.prep/tasks/main.yml')
-rw-r--r--vagrant/ansible/roles/node.prep/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/vagrant/ansible/roles/node.prep/tasks/main.yml b/vagrant/ansible/roles/node.prep/tasks/main.yml
index c68ddd9..f0b184c 100644
--- a/vagrant/ansible/roles/node.prep/tasks/main.yml
+++ b/vagrant/ansible/roles/node.prep/tasks/main.yml
@@ -12,3 +12,8 @@
copy:
src: ssh-config-setup
dest: /home/vagrant/.ssh/config
+
+- name: copy /etc/hosts
+ copy:
+ src: etc-hosts
+ dest: /etc/hosts