diff --git a/.gitignore b/.gitignore index 0602192d7f4de162670c8c9c5f3d6c958702ca5e..5cf66a8e1563403bdd0d18cb51eaaa2a1ee43df5 100644 --- a/.gitignore +++ b/.gitignore @@ -86,3 +86,4 @@ iso/ # time new systems should be installed. Hence, it's not suitable for version # control. vars/network.yml +fstab diff --git a/tasks/main.yml b/tasks/main.yml index e17df817381596f28ff28c506824a10624186ac9..859cf810bb5b02b35fc878cb8c57cf12c374a00b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -19,7 +19,7 @@ opts: "loop" path: "{{ playbook_dir }}/iso/" src: "{{ playbook_dir }}/rhel-server-{{ rhel_version_long }}-x86_64-dvd.iso" - fstab: "/tmp/fstab" + fstab: "{{ playbook_dir }}/fstab" state: mounted # Copy contents of ISO image to the build directory, because they will need to # be included in the new image.