|
1 | 1 | --- |
2 | 2 | - name: Ensure absent router is removed from neutron |
3 | | - os_router: |
| 3 | + openstack.cloud.router: |
4 | 4 | auth_type: "{{ os_networks_auth_type }}" |
5 | 5 | auth: "{{ os_networks_auth }}" |
6 | 6 | cacert: "{{ os_networks_cacert | default(omit) }}" |
|
13 | 13 | when: item.state | default == 'absent' |
14 | 14 |
|
15 | 15 | - name: Ensure network is registered with neutron |
16 | | - os_network: |
| 16 | + openstack.cloud.network: |
17 | 17 | auth_type: "{{ os_networks_auth_type }}" |
18 | 18 | auth: "{{ os_networks_auth }}" |
19 | 19 | cacert: "{{ os_networks_cacert | default(omit) }}" |
|
33 | 33 | with_items: "{{ os_networks }}" |
34 | 34 |
|
35 | 35 | - name: Ensure subnet is registered with neutron |
36 | | - os_subnet: |
| 36 | + openstack.cloud.subnet: |
37 | 37 | auth_type: "{{ os_networks_auth_type }}" |
38 | 38 | auth: "{{ os_networks_auth }}" |
39 | 39 | cacert: "{{ os_networks_cacert | default(omit) }}" |
|
63 | 63 | - subnets |
64 | 64 |
|
65 | 65 | - name: Ensure router is registered with neutron |
66 | | - os_router: |
| 66 | + openstack.cloud.router: |
67 | 67 | auth_type: "{{ os_networks_auth_type }}" |
68 | 68 | auth: "{{ os_networks_auth }}" |
69 | 69 | cacert: "{{ os_networks_cacert | default(omit) }}" |
|
79 | 79 | when: item.state | default('present') == 'present' |
80 | 80 |
|
81 | 81 | - name: Ensure security groups are registered with neutron |
82 | | - os_security_group: |
| 82 | + openstack.cloud.security_group: |
83 | 83 | auth_type: "{{ os_networks_auth_type }}" |
84 | 84 | auth: "{{ os_networks_auth }}" |
85 | 85 | cacert: "{{ os_networks_cacert | default(omit) }}" |
|
92 | 92 | with_items: "{{ os_networks_security_groups }}" |
93 | 93 |
|
94 | 94 | - name: Ensure security group rules are registered with neutron |
95 | | - os_security_group_rule: |
| 95 | + openstack.cloud.security_group_rule: |
96 | 96 | auth_type: "{{ os_networks_auth_type }}" |
97 | 97 | auth: "{{ os_networks_auth }}" |
98 | 98 | cacert: "{{ os_networks_cacert | default(omit) }}" |
|
0 commit comments