I would need to translate the following Openstack command in an Ansible task:
neutron rbac-create --target-tenant <TENANT_ID> --action access_as_shared --type network <SUBNET_ID>
Is any module that helps creating the RBAC in Ansible?
I would need to translate the following Openstack command in an Ansible task:
neutron rbac-create --target-tenant <TENANT_ID> --action access_as_shared --type network <SUBNET_ID>
Is any module that helps creating the RBAC in Ansible?
For the beginning you could start just with the shell
_module.
- name:
shell:
cmd: neutron rbac-create --target-tenant {{ TENANT_ID }} --action access_as_shared --type network {{ SUBNET_ID }}
...
Than proceed further with Ansible Collections and Openstack.Cloud modules and check which of the network related modules could fit for the OpenStack Networking service (neutron) like openstack.cloud.network
.