This module provides for the following ansible plugin:
validations_read_ini
Get data from an ini file
File path
Section to look up
Section key to look up
Default value if key isn't found
Flag if a missing file should be ignored
Tomas Sedovic
- hosts: webservers
tasks:
- name: Lookup bar value
validations_read_ini: path=config.ini section=foo key=bar ignore_missing_file=True
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.