Toshio Kuratomi
3fba006207
Update bare exceptions to specify Exception.
...
This will keep us from accidentally catching program-exiting exceptions
like KeyboardInterupt and SystemExit.
6 years ago
Filippo125
238786c0d3
zabbix inventory: options to read per each host and set ansible_ssh_host ( #44107 )
6 years ago
Matt Martz
c1c229c6d4
Remove use of simplejson throughout code base ( #43548 )
...
* Remove use of simplejson throughout code base. Fixes #42761
* Address failing tests
* Remove simplejson from contrib and other outlying files
* Add changelog fragment for simplejson removal
6 years ago
Joren Vrancken
b954917761
Surround top-level function and class definitions with two blank lines.
6 years ago
Filippo125
5864871fc1
Zabbix inventory improvement ( #42669 )
...
* Add validate_certs option to zabbix inventory
* Add validation option
* Fix pep8
* Add changelog
6 years ago
furhouse
af9396841e
zabbix_inventory PEP8 compliance. ( #28680 )
7 years ago
Matt Clay
2e85272cd5
PEP 8 fixes.
8 years ago
Ronny
955f8923e7
Update dynamic inventory zabbix.py ( #19862 )
...
Added _meta to improve the speed when using this dynamic inventory file
8 years ago
Matt Martz
d3249e7875
pep8 fixes for contrib ( #24344 )
8 years ago
Brian Coca
e4022906d3
manually integrated from PR #10350
8 years ago
Matt Clay
d0d1158c5e
PEP 8 cleanup. ( #20789 )
...
* PEP 8 E703 cleanup.
* PEP 8 E701 cleanup.
* PEP 8 E711 cleanup.
* PEP 8 W191 and E101 cleanup.
8 years ago
Matt Clay
63b1e0c277
Fix infrequent PEP 8 issues.
8 years ago
Yuri Vysotskiy
a2422bfb60
Added additional ini file search path into contrib/inventory/zabbix.py
9 years ago
Marius Gedminas
3f9879aedb
Use print() as function under contrib/
...
This fixes the remaining Python 3 syntax errors, so re-enable compileall
for contrib/ again.
9 years ago
Marius Gedminas
9ae66a7f5c
Use 'except ... as' syntax in contrib/ and test/ too
9 years ago
Brian Coca
d0c6d2ff1c
poreted log_plays, syslog_json and osx_say callbacks to v2
...
renamed plugins to contrib (they are not really plugins)
rewrote README.md to reflect new usage
added new dir to setup.py so it gets copied with installation, in views
of making using inventory scripts easier in teh future
10 years ago