2024-06-15 20:41:42 +00:00
|
|
|
- name: delete OVH instance
|
|
|
|
hosts: localhost
|
|
|
|
connection: local
|
|
|
|
vars_files:
|
|
|
|
- vars/main.yml
|
|
|
|
tasks:
|
2024-06-18 21:52:24 +00:00
|
|
|
- name: Set ansible_user
|
|
|
|
set_fact:
|
|
|
|
ansible_user: "{{ ansible_user_id }}"
|
|
|
|
|
2024-06-15 20:41:42 +00:00
|
|
|
- name: Retrieve secrets
|
|
|
|
ansible.builtin.include_tasks: "tasks/retrieve_secret_vars.yml"
|
|
|
|
|
|
|
|
- name: Include OVH application credentials
|
|
|
|
ansible.builtin.include_vars: "{{ remote_workdir }}/OVH_APPLICATION.yml"
|
|
|
|
|
|
|
|
- name: include role_delete_openstack_instance
|
|
|
|
ansible.builtin.include_role:
|
|
|
|
name: role_delete_openstack_instance
|