Fix dependencies.
This commit is contained in:
parent
911b736bee
commit
ab4efb19d0
@ -1,11 +1,10 @@
|
||||
---
|
||||
# tasks file for role_delete_openstack_instance
|
||||
- name: install openstack
|
||||
ansible.builtin.package:
|
||||
- name: install python modules
|
||||
ansible.builtin.pip:
|
||||
name:
|
||||
- python3-openstacksdk
|
||||
state: present
|
||||
become: true
|
||||
- openstacksdk==0.61.0
|
||||
- ovh==1.1.0
|
||||
|
||||
- name: delete instance
|
||||
openstack.cloud.server:
|
||||
@ -42,11 +41,6 @@
|
||||
OS_USER_DOMAIN_NAME: "{{ OS_USER_DOMAIN_NAME }}"
|
||||
OS_REGION_NAME: "{{ OS_REGION_NAME }}"
|
||||
|
||||
- name: install ovh python module
|
||||
ansible.builtin.pip:
|
||||
name:
|
||||
- ovh
|
||||
|
||||
- name: Remove A server record
|
||||
ovh_dns:
|
||||
state: absent
|
||||
|
@ -1,11 +1,10 @@
|
||||
---
|
||||
# tasks file for role_deploy_openstack_instance
|
||||
- name: install openstack
|
||||
ansible.builtin.package:
|
||||
- name: install python modules
|
||||
ansible.builtin.pip:
|
||||
name:
|
||||
- python3-openstacksdk
|
||||
state: present
|
||||
become: true
|
||||
- openstacksdk==0.61.0
|
||||
- ovh==1.1.0
|
||||
|
||||
- name: create SSH keypair
|
||||
openstack.cloud.keypair:
|
||||
@ -36,11 +35,6 @@
|
||||
|
||||
- debug: var=openstack_output.openstack.accessIPv4
|
||||
|
||||
- name: install ovh python module
|
||||
ansible.builtin.pip:
|
||||
name:
|
||||
- ovh
|
||||
|
||||
- name: Create A server record
|
||||
ovh_dns:
|
||||
state: present
|
||||
|
Loading…
Reference in New Issue
Block a user