20 lines
562 B
YAML
20 lines
562 B
YAML
- name: delete OVH instance
|
|
hosts: localhost
|
|
connection: local
|
|
vars_files:
|
|
- vars/main.yml
|
|
tasks:
|
|
- name: Set ansible_user
|
|
set_fact:
|
|
ansible_user: "{{ ansible_user_id }}"
|
|
|
|
- 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
|