| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
In python3 `ConfigParser` has become `configparser`. Added
an import guard that aliases it back to the old name.
(cherry picked from commit bc9dbf38b0ea5a87089b8fc3e8bf5811e8dfadda)
|
|
|
|
| |
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>(cherry picked from commit 3a82246d829fdd67cbb774b5c96f09fa6ac40100)
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix pylint misplaced-bare-raise errors.
* Fix pylint return-in-init error.
* Fix pylint bad-format-character error.
* Fix pylint too-many-format-args errors.
* Fix pylint too-few-format-args errors.
* Fix pylint truncated-format-string error.
(cherry picked from commit 48eeab8a5374ac9a84d337f892b2bb85089cf83b)
|
|
|
|
| |
primary endpoint address on Redis cluster (#20190)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add ads server itself as an host in the inventory
* Comment all value in example
* Add Id in variable list per device
* Centralize code to add device status to variables
* Fix device variable name for blueprint
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Add aos.session information to group all variables
* Revert IP address change
* Remove space in empty line for PEP8
|
|
|
|
| |
fixes #21724
|
|
|
|
|
| |
This commit adds the foreman inventory based on
https://github.com/theforeman/foreman_ansible_inventory
and its configuration file.
|
| |
|
|
|
|
|
|
|
| |
user in debug mode) (#21663)
example use case: you have rights on guest but you cannot see the VMWare host
Signed-off-by: nerzhul <loic.blot@unix-experience.fr>
|
| |
|
|
|
|
|
| |
* Fix py3 issue in nagios_livestatus inv script.
* Fix PEP 8 issues.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add Nagios livestatus inventory plugin.
* Add new capabilities for the nagios_livestatus inventory:
- host_field: set the name returned (default: 'name')
- group_field: set the field used for group (default: 'groups')
- host_filter: filter host using this filter (default: None)
To be more consistent, prefix was renamed into var_prefix.
* Fix py34 runtests errors against print call.
|
|
|
|
|
|
| |
(#21567)
With this proposed PR, we want to make the use of many ec2 dynamic inventory files more flexible.
We are using multiple AWS accounts. We want to use different ini file (one for every account) and only one ec2.py.
|
| |
|
|
|
|
|
|
|
|
| |
provided (#21434)
* Add a new output format when a blueprint name is provided
* Add author name
|
| |
|
|
|
|
|
|
|
|
| |
* Use with statement when doing rw on files
* Deserialize file-like object directly instead of a string
For python 2/3 compatibility reasons, per PR feedback.
|
|
|
|
|
|
| |
* Pass boto_profile to get_route53_records
* Add conditional around r53_conn to check for boto_profile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#20909)
* adding route53_hostnames option to set the hostnames from route 53
* checking whether the route53_hostnames option is present as suggested by @s-hertel
* setting route53_hostnames to None when config option not present
* skip the to_safe only when using route53_hostnames option, as suggested by @ryansb
* skipping the to_safe strip only for the hostnames that came from route53 as suggested by @ryansb
|
| |
|
|
|
| |
To make this compatible with NSoT v1.x, removing ['data']['devices'].
|
|
|
|
| |
* Initial release of dynamic inventory for AOS
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allows users to specify a key name in a given project’s `ansible.cfg`
file and thus handle keyring integration with vaults with different
passwords. If no key name is specified, the original default `ansible`
key name will be used.
Other improvements:
* `username` is now optional; defaults to user that invokes the script
* change string interpolation to new `.format()` style
* clean up and expand upon documentation
* enforce PEP 8 compliance
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add dynamic inventory script and config for Packet.net
* The script and config have been shamelessly cargo
culted from the `ec2.py` and `ec2.ini` dynamic inventory
script.
* This is an initial version and could very well be
enhanced and made better.
Examples:
`PACKET_NET_API_KEY=<MY_AUTH_TOKEN> --list` to get inventory for
all hosts in Packet.net in all projects (defaults to `--list`
if no argument provided).
`PACKET_NET_API_KEY=<MY_AUTH_TOKEN> --host HOST` to get variables
for a single host.
* improvements in Packet host dynamic inventory
|
| |
|
| |
|
|
|
|
|
|
| |
Ensure command line profile argument and AWS_PROFILE environment variable
overrides config file
Remove unnecessary `lambda` function
Fix cache file path construction to be more pythonic (and windows-ready)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* PEP 8 E121 cleanup.
* PEP 8 E126 cleanup.
* PEP 8 E122 cleanup.
|
|
|
|
|
| |
* PEP 8 E115 cleanup.
* PEP 8 E131 cleanup.
|
|
|
|
|
|
|
| |
* PEP 8 E703 cleanup.
* PEP 8 E701 cleanup.
* PEP 8 E711 cleanup.
* PEP 8 W191 and E101 cleanup.
|
| |
|
|
|
|
|
|
| |
* PEP 8 E271 whitespace cleanup.
* PEP 8 W293 whitespace cleanup.
* Fix whitespace issue from recent PR.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Fix bug 17934
* Update link in Azure provider warning log
|
|
|
|
|
| |
use inkey attribute in _process_object_types recursive loop to generate key name in skip_keys directive.
This permit to ignore nested variables, for example summary.vm to optimize inventory collect
|
| |
|