summaryrefslogtreecommitdiffstats
path: root/vagrant/ansible/roles/local.test/tasks/main.yml
blob: d9d6bd37af7a4926aeb8cf8ec0710f05b0cb47e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- name: read list of nodes from file cluster_nodes.yml
  include_vars:
    file: cluster-vars.yml

#- name: Test node reachability
#  # note: `net_ping` module does not work unless we put
#  # `ansible_network_os` into the inventory...
#  command: "ping -c 1 {{ item }}"
#  loop:
#    "{{ cluster_hosts }}"

- name: Test ssh to nodes via node address
  command: /bin/true
  delegate_to: "{{ item }}"
  with_items: "{{ cluster_hosts }}"