Razique Mahroua
2020-03-18 b85c91a8192593f6b62f93e11c971868964343a9
ansible/roles/ocp4-workload-idm/tasks/remove_workload.yml
@@ -1,5 +1,13 @@
---
# Implement your Workload removal tasks here
- name: Install AWS python prerequisites
  become: True
  pip:
    state: present
    name:
    - boto
    - botocore
    - boto3
# Find IP of bastion
- name: Gather VPC facts
@@ -55,6 +63,11 @@
    zone: "{{ cluster_name }}{{ subdomain_base_suffix }}."
    vpc_id: "{{ cluster_vpc.vpcs[0].vpc_id }}"
- name: Remove Certificate renewal cronjob
  cron:
    name: LETS_ENCRYPT_RENEW_IDM
    state: absent
# Leave this as the last task in the playbook.
- name: remove_workload tasks complete
  debug: