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