Processes the given file using one of the supported parsers, supporting the injection of env vars.
Path of the file to parse.
Parser that will handle the parsing of the file.
Environment variables that need to be injected into the parser.
Prefix that will be appended to every path that the parser will access during its operation.
Determines if the process should fail if a defined environment variable is not available.
# List running processes
- name: Parse config file
datadope.discovery.file_parser:
file_path: "/etc/httpd/conf/httpd.conf"
parser: "apache_webserver"
Parsed file.
GNU General Public License v3.0 or later
See COPYING to see the full text.
- Datadope (@datadope-io)