summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-node/clean_image.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/common/openshift-node/clean_image.yml')
-rw-r--r--playbooks/common/openshift-node/clean_image.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/common/openshift-node/clean_image.yml b/playbooks/common/openshift-node/clean_image.yml
new file mode 100644
index 000000000..38753d0af
--- /dev/null
+++ b/playbooks/common/openshift-node/clean_image.yml
@@ -0,0 +1,10 @@
+---
+- name: Configure nodes
+ hosts: oo_nodes_to_config:!oo_containerized_master_nodes
+ tasks:
+ - name: Remove any ansible facts created during AMI creation
+ file:
+ path: "/etc/ansible/facts.d/{{ item }}"
+ state: absent
+ with_items:
+ - openshift.fact