diff options
author | Michael Adam <obnox@samba.org> | 2020-03-24 23:45:50 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2020-03-25 22:32:23 +0100 |
commit | 346b7b49663436fbab6f16ab02334087cd164751 (patch) | |
tree | 5562c88c072d6cf7bbe64a174eb9409a03c24c0d | |
parent | 2382bfc4195db2c0173064218717b6583bc0ea45 (diff) | |
download | samba-integration-346b7b49663436fbab6f16ab02334087cd164751.tar.gz samba-integration-346b7b49663436fbab6f16ab02334087cd164751.tar.xz samba-integration-346b7b49663436fbab6f16ab02334087cd164751.zip |
Add output of `hostname` to node.test playbook
Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r-- | vagrant/ansible/roles/node.test/tasks/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vagrant/ansible/roles/node.test/tasks/main.yml b/vagrant/ansible/roles/node.test/tasks/main.yml index 2381b56..60669ee 100644 --- a/vagrant/ansible/roles/node.test/tasks/main.yml +++ b/vagrant/ansible/roles/node.test/tasks/main.yml @@ -2,6 +2,14 @@ include_vars: file: cluster-vars.yml +- name: get hostname + command: hostname + register: output + +- name: print hostname + debug: + var: output.stdout + - name: Test node reachability # note: `net_ping` module does not work unless we put # `ansible_network_os` into the inventory... |