ovh_instance_playbooks/delete_ovh_instance.yml

20 lines
546 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"
2024-06-20 12:05:41 +00:00
- name: Include secrets from yml db
ansible.builtin.include_vars: "{{ remote_workdir }}/secrets.yml"
- name: include role_delete_openstack_instance
ansible.builtin.include_role:
name: role_delete_openstack_instance