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:
parent
ca80ab82a7
commit
1c486131cd
10
playbooks/cleanup-deployment-images.yaml
Normal file
10
playbooks/cleanup-deployment-images.yaml
Normal 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
|
@ -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
|
||||
=====================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user