From 85ed95ba2cb4176870a363a0336c6eb7c5020e65 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 13 Sep 2016 14:58:55 -0500 Subject: [PATCH] ansible: default nodename to ansible_hostname in slave_static.yml Signed-off-by: Andrew Schoen --- ansible/examples/slave_static.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/examples/slave_static.yml b/ansible/examples/slave_static.yml index 4b02eab6..73cc9799 100644 --- a/ansible/examples/slave_static.yml +++ b/ansible/examples/slave_static.yml @@ -24,8 +24,8 @@ - api_user: 'ceph-jenkins' - token: '{{ token }}' - api_uri: 'https://jenkins.ceph.com' - # this is set in the hosts file - # - nodename: '{{ nodename }}' + # this is also set in the example/hosts-static file + - nodename: '{{ ansible_hostname }}' - labels: '{{ labels }}' - use_jnlp: true -- 2.39.5