From: Andrew Schoen Date: Tue, 13 Sep 2016 19:58:55 +0000 (-0500) Subject: ansible: default nodename to ansible_hostname in slave_static.yml X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=85ed95ba2cb4176870a363a0336c6eb7c5020e65;p=ceph-build.git ansible: default nodename to ansible_hostname in slave_static.yml Signed-off-by: Andrew Schoen --- 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