Merge "Use inventory_hostname for Ceph bootstrap"

This commit is contained in:
Jenkins 2016-07-11 11:58:16 +00:00 committed by Gerrit Code Review
commit 44357460b8
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
register: ceph_mon_config_volume register: ceph_mon_config_volume
- name: Writing hostname of host with existing cluster files to temp file - name: Writing hostname of host with existing cluster files to temp file
local_action: copy content={{ ansible_hostname }} dest=/tmp/kolla_ceph_cluster mode=0600 local_action: copy content="{{ inventory_hostname }}" dest=/tmp/kolla_ceph_cluster mode=0600
changed_when: False changed_when: False
always_run: True always_run: True
when: not ceph_mon_config_volume.changed when: not ceph_mon_config_volume.changed

View File

@ -25,4 +25,4 @@
- name: Setting host for cluster files - name: Setting host for cluster files
set_fact: set_fact:
delegate_host: "{{ ansible_hostname }}" delegate_host: "{{ inventory_hostname }}"