module_read_ini/README.md
2021-12-22 10:48:29 +01:00

425 B

module_read_ini

Ansible module to read whole ini file

Testing Example

% python3 ./read_ini.py <module_test_args.json

Ansible Example

% ansible localhost -m read_ini -a filename=/usr/share/applications/libreoffice-writer.desktop

Playbook Example

- hosts: localhost
  tasks:
    - read_ini:
        filename: /usr/share/applications/libreoffice-writer.desktop
      register: ini