Module - validations_read_ini¶
This module provides for the following ansible plugin:
validations_read_ini
Module Documentation¶
Get data from an ini file
Options¶
- path:
 File path
- section:
 Section to look up
- key:
 Section key to look up
- default:
 Default value if key isn't found
- ignore_missing_file:
 Flag if a missing file should be ignored
Authors¶
- :
 Tomas Sedovic
Example Tasks¶
- hosts: fizzbuz
  tasks:
  - name: Lookup bar value
    validations_read_ini:
      path: config.ini
      section: foo
      key: bar
      ignore_missing_file: true
    register: bar_value