Module - export_user_project_role_assignment

This module provides for the following ansible plugin:

  • export_user_project_role_assignment

Module Documentation

Export OpenStack Identity Role Assignment definition into an OS-Migrate YAML

Options

auth:

Required if 'cloud' param not used.

auth_type:

Auth type plugin for OpenStack. Can be omitted if using password authentication.

region_name:

OpenStack region name. Can be omitted if using default region.

path:

Resources YAML file to where project will be serialized.

In case the resource file already exists, it must match the os-migrate version.

In case the resource of same type and name exists in the file, it will be replaced.

user_id:

ID of a user to export the role assignment for.

project_id:

ID of a project to export the role assignment for.

role_id:

ID of a role to export the role assignment for.

availability_zone:

Availability zone.

cloud:

Cloud resource from clouds.yml

Required if 'auth' param not used.

Authors

:

OpenStack tenant migration tools (@os-migrate)

Example Tasks

- name: Export my_project into /opt/os-migrate/user_project_role_assignment.yml
  os_migrate.os_migrate.export_user_project_role_assignment:
    cloud: source_cloud
    path: /opt/os-migrate/user_project_role_assignment.yml
    name: my_project