awx.awx.tower_meta – Returns metadata about the collection this module lives in.¶
Note
This plugin is part of the awx.awx collection (version 14.1.0).
To install it use: ansible-galaxy collection install awx.awx
.
To use it in a playbook, specify: awx.awx.tower_meta
.
Synopsis¶
Allows a user to find out what collection this module exists in.
This takes common module parameters, but does nothing with them.
Parameters¶
Notes¶
Note
If no config_file is provided we will attempt to use the tower-cli library defaults to find your Tower host information.
config_file should contain Tower configuration in the following format host=hostname username=username password=password
Examples¶
- tower_meta:
register: result
- name: Show details about the collection
debug: var=result
- name: Load the UI setting without hard-coding the collection name
debug:
msg: "{{ lookup(result.prefix + '.tower_api', 'settings/ui') }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Alan Rominger (@alancoding)