clean_image.yml 335 B

1234567891011121314
  1. ---
  2. - name: Configure nodes
  3. hosts: "{{ l_node_group }}"
  4. tasks:
  5. - name: Remove any ansible facts created during AMI creation
  6. file:
  7. path: "/etc/ansible/facts.d/{{ item }}"
  8. state: absent
  9. with_items:
  10. - openshift.fact
  11. - name: Clean cloud-init path
  12. file:
  13. state: absent
  14. path: "/var/lib/cloud/"