Add playbook to remove deployment images from the system

In the event of redeployments on installations that have been
in-place for some time, it may be necessary to clean the
master_images folder along with the deployment kernel and
ramdisk to ensure that fresh images are downloaded during
the next installation.

Updated troubleshooting documentation to mention availability of
the playbook and the potential case when it may be needed.
This commit is contained in:
Julia Kreger 2015-04-16 16:08:13 -04:00
parent ca80ab82a7
commit 1c486131cd
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,10 @@
---
- hosts: localhost
connection: local
name: "Removes the master_images folder and deployment kernel/ramdisk for clean redeployments when testing."
sudo: yes
gather_facts: yes
tasks:
- file: path=/tftpboot/master_images state=absent
- file: path="{{deploy_kernel}}" state=absent
- file: path="{{deploy_ramdisk}}" state=absent

View File

@ -28,6 +28,13 @@ Example error:
Unexpected/Unknown failure with the IPA Agent
*********************************************
New image appears not to be deploying
=====================================
When deploying a new image with the same previous name, it is necessary to purge the contents of the TFTP master_images folder which caches the image file for deployments. The default location for this folder is /tftpboot/master_images.
Additionally, a playbook has been included that can be used prior to a re-installation to ensure fresh images are deployed. This playbook can be found at playbooks/cleanup-deployment-images.yaml
Building an IPA image
=====================