This commit is contained in:
parent
cdf46acaf5
commit
a6b2fb6c0f
1 changed files with 2 additions and 1 deletions
|
|
@ -2,7 +2,8 @@
|
|||
- name: Install script update-grub
|
||||
copy: src=files/usr/local/sbin/update-grub dest=/usr/local/sbin/update-grub owner=root group=root mode=0755
|
||||
when: ansible_architecture == "x86_64" or ansible_architecture == "i386"
|
||||
- stat: path=/etc/dracut.conf.d/02-rescue.conf
|
||||
- name: Retreive stat of /etc/dracut.conf.d/02-rescue.conf file
|
||||
stat: path=/etc/dracut.conf.d/02-rescue.conf
|
||||
register: st
|
||||
- name: Copy dracut's rescue config file
|
||||
copy: src=/usr/lib/dracut/dracut.conf.d/02-rescue.conf dest=/etc/dracut.conf.d/02-rescue.conf remote_src=yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue