Module - os_security_groups_info

This module provides for the following ansible plugin:

  • os_security_groups_info

Module Documentation

List security groups information

Options

filters

Options for filtering the Security Group info.

availability_zone

Availability zone.

cloud

Cloud resource from clouds.yml file

Authors

OpenStack tenant migration tools (@os-migrate)

Example Tasks

- name: Export security groups into /opt/os-migrate/security_groups.yml
  os_security_groups_info:
    auth:
      auth_url: https://identity.example.com
      username: user
      password: password
      project_name: someproject
    name: secgroup