mirror of https://github.com/ceph/ceph-ansible.git
convert some missed `ansible_*`` calls to `ansible_facts['*']`
This converts some missed calls to `ansible_*` that were missed in
initial PR #6312
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 0163ecc924
)
pull/6363/head
parent
181924db7b
commit
8a4fd99db7
|
@ -29,7 +29,7 @@ dummy:
|
|||
# ideal when ceph-nfs is managed by pacemaker across multiple hosts - in
|
||||
# such case it's better to have constant instance id instead which
|
||||
# can be set by 'ceph_nfs_service_suffix'
|
||||
# ceph_nfs_service_suffix: ansible_hostname
|
||||
# ceph_nfs_service_suffix: "{{ ansible_facts['hostname'] }}"
|
||||
|
||||
######################
|
||||
# NFS Ganesha Config #
|
||||
|
|
|
@ -58,7 +58,7 @@ dummy:
|
|||
#bluestore_wal_devices: []
|
||||
|
||||
#'osd_auto_discovery' mode prevents you from filling out the 'devices' variable above.
|
||||
# Device discovery is based on the Ansible fact 'ansible_devices'
|
||||
# Device discovery is based on the Ansible fact 'ansible_facts["devices"]'
|
||||
# which reports all the devices on a system. If chosen, all the disks
|
||||
# found will be passed to ceph-volume lvm batch. You should not be worried on using
|
||||
# this option since ceph-volume has a built-in check which looks for empty devices.
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
set_fact:
|
||||
ceph_release: "{{ ceph_stable_release }}"
|
||||
|
||||
- name: set_fact monitor_name ansible_hostname
|
||||
- name: set_fact monitor_name ansible_facts['hostname']
|
||||
set_fact:
|
||||
monitor_name: "{{ hostvars[item]['ansible_facts']['hostname'] }}"
|
||||
delegate_to: "{{ item }}"
|
||||
|
|
|
@ -21,7 +21,7 @@ ceph_nfs_enable_service: true
|
|||
# ideal when ceph-nfs is managed by pacemaker across multiple hosts - in
|
||||
# such case it's better to have constant instance id instead which
|
||||
# can be set by 'ceph_nfs_service_suffix'
|
||||
# ceph_nfs_service_suffix: ansible_hostname
|
||||
# ceph_nfs_service_suffix: "{{ ansible_facts['hostname'] }}"
|
||||
|
||||
######################
|
||||
# NFS Ganesha Config #
|
||||
|
|
|
@ -50,7 +50,7 @@ dedicated_devices: []
|
|||
bluestore_wal_devices: []
|
||||
|
||||
#'osd_auto_discovery' mode prevents you from filling out the 'devices' variable above.
|
||||
# Device discovery is based on the Ansible fact 'ansible_devices'
|
||||
# Device discovery is based on the Ansible fact 'ansible_facts["devices"]'
|
||||
# which reports all the devices on a system. If chosen, all the disks
|
||||
# found will be passed to ceph-volume lvm batch. You should not be worried on using
|
||||
# this option since ceph-volume has a built-in check which looks for empty devices.
|
||||
|
|
Loading…
Reference in New Issue