ovh_instance_playbooks/delete_ovh_instance.yml

20 lines
562 B
YAML
Raw Normal View History

- 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 }}"
- 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