bifrost/playbooks/cleanup-deployment-images.yaml
stephane cfe024a210 Clarify variable names & cleanup docs
The deploy_kernel* and deploy_ramdisk* variables were confusingly
named because they looked similar to deploy_image. I've renamed
them to ipa_kernel* and ipa_ramdisk* to reflect that they are the
CoreOS kernel and ramdisk from IPA and have updated the
documentation. I also cleaned up a minor issue where we defined
a path for the local copies of the kernel and ramdisk but didn't
use it in the install playbook.

I've also removed deploy_image_upstream_url from the offline
installation documentation as we no longer use it.

Partial-Bug: 1478726
Change-Id: Ia8c865521974e6bdd9e8e6a3ffa4c5f6b1f2f6ad
2015-08-03 10:26:27 -07:00

11 lines
344 B
YAML

---
- 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="{{ipa_kernel}}" state=absent
- file: path="{{ipa_ramdisk}}" state=absent