Module - ini

Module - ini

This module provides for the following ansible plugin:

  • ini

Module Documentation

Get data from an ini file

Options

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

Authors

:

Tomas Sedovic

Example Tasks

- hosts: webservers
  tasks:
  - ini: path=config.ini section=foo key=bar ignore_missing_file=True
    name: Lookup bar value
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.