diff --git a/tasks/trove_service_network.yml b/tasks/trove_service_network.yml index 35cfcd0..a57a73f 100644 --- a/tasks/trove_service_network.yml +++ b/tasks/trove_service_network.yml @@ -20,7 +20,7 @@ ansible_python_interpreter: "{{ trove_service_setup_host_python_interpreter }}" block: - name: Get admin tenant id - os_project_info: + openstack.cloud.os_project_info: cloud: default name: admin interface: internal @@ -32,7 +32,7 @@ keystone_admin_tenant_id: "{{ _get_admin_project.openstack_projects[0].id }}" - name: Create trove service network - os_network: + openstack.cloud.os_network: cloud: default validate_certs: "{{ trove_service_net_validate_certs }}" state: present @@ -43,11 +43,10 @@ project: "{{ keystone_admin_tenant_id }}" wait: yes endpoint_type: "{{ trove_service_net_endpoint_type }}" - register: trove_network run_once: true - name: Create trove service subnet - os_subnet: + openstack.cloud.os_subnet: cloud: default validate_certs: "{{ trove_service_net_validate_certs }}" state: present @@ -71,7 +70,7 @@ ansible_python_interpreter: "{{ trove_service_setup_host_python_interpreter }}" block: - name: Get trove service net id - os_networks_info: + openstack.cloud.os_networks_info: cloud: default validate_certs: "{{ trove_service_net_validate_certs }}" wait: yes