Module - read_resources

This module provides for the following ansible plugin:

  • read_resources

Module Documentation

Read an OS-Migrate YAML resources file structure

Options

path

Resources YAML file to read.

Authors

OpenStack tenant migration tools (@os-migrate)

Example Tasks

- name: Read resources from /opt/os-migrate/networks.yml
  os_migrate.os_migrate.read_resources:
    path: /opt/os-migrate/networks.yml
  register: read_networks
- name: Debug-print resources
  debug:
    msg: '{{ read_networks.resources }}'