]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: default nodename to ansible_hostname in slave_static.yml
authorAndrew Schoen <aschoen@redhat.com>
Tue, 13 Sep 2016 19:58:55 +0000 (14:58 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 14 Sep 2016 19:30:10 +0000 (14:30 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ansible/examples/slave_static.yml

index 4b02eab6e1bb4f811a2653489aad269c613fc47f..73cc97995fc3d05b8ac991285b70cc2b2d702b30 100644 (file)
@@ -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