This module provides for the following ansible plugin:
- validations_read_ini
Get data from an ini file
| 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 |
| : | 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.