Merge "[ansible] Fix grub install for Ansible 2.4"

This commit is contained in:
Zuul 2017-11-01 03:41:48 +00:00 committed by Gerrit Code Review
commit f43415c8fd

View File

@ -58,7 +58,7 @@
register: grub_version_string
- name: install grub to disk
become: yes
command: chroot {{ tmp_rootfs_mount }} /bin/sh -c '{{ grub_install_cmd }} /dev/{{ ansible_devices | first }}'
command: chroot {{ tmp_rootfs_mount }} /bin/sh -c '{{ grub_install_cmd }} {{ ironic_root_device }}'
- name: preload lvm modules for grub2
become: yes
lineinfile: