Module - validations_read_ini

Module - validations_read_ini

This module provides for the following ansible plugin:

  • validations_read_ini

Module Documentation

Get data from an ini file

Options

default:

Default value if key isn't found

path:

File path

section:

Section to look up

ignore_missing_file:
 

Flag if a missing file should be ignored

key:

Section key to look up

Authors

:

Tomas Sedovic

Example Tasks

- hosts: webservers
  tasks:
  - name: Lookup bar value
    validations_read_ini: path=config.ini section=foo key=bar ignore_missing_file=True
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.