]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
cobbler_profile: use the mount module instead of command to mount isos
authorAndrew Schoen <aschoen@redhat.com>
Mon, 18 May 2015 18:09:52 +0000 (13:09 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 20 May 2015 21:18:21 +0000 (16:18 -0500)
commit35bd4e825a0c31bbf88300bb9e6ab2564234e97a
tree8fd795983c5824da6a5e3a162422a408a069c1a7
parentbc06c69a76603ad4b38fe9da8556300d99658b84
cobbler_profile: use the mount module instead of command to mount isos

The mount module is idempotent, so we should use that instead.  Also,
clear the mount point each time so that if the playbook fails on the
next run it'll actually remount and complete the rest of the tasks
instead of skipping them because the iso is already mounted.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/cobbler_profile/tasks/import_distro.yml