Commit Graph

167 Commits

Author SHA1 Message Date
Robert Kaussow 777415731d
fix: handle custom yaml tag '!unsafe' 2021-01-11 12:08:55 +01:00
Robert Kaussow 5fc13d790e
feat: reduce duplicate error logs while processing files with parsing issues (#61) 2021-01-09 13:16:08 +01:00
Robert Kaussow 204fd46304
fix: exclude lines containing '!unsafe' from ANSIBLE0004 2021-01-08 15:01:41 +01:00
Robert Kaussow 0c6df867ca
chore(devel): merge flake8 and yapf config into setup.cfg (#55) 2021-01-01 14:52:10 +01:00
Robert Kaussow 0a1948da14
fix: handle command module argv syntax
Fixes: #47
2020-12-30 15:45:54 +01:00
Robert Kaussow 50bce1ac0a
build: migrate to poetry 2020-12-28 16:21:51 +01:00
Robert Kaussow b6369ef3bc
[skip ci] prepare release 2020-10-08 00:02:00 +02:00
Robert Kaussow 479f6b9855
fix missing __ansible_action_meta__ 2020-10-07 23:30:22 +02:00
Robert Kaussow b6f7ec1d73
migrate to thegeeklab namespace 2020-09-27 14:56:49 +02:00
Robert Kaussow 98a82b0b66
[skip ci] prepare release 2020-09-26 14:53:28 +02:00
Robert Kaussow 8a4d291342
fix issue with conflicting action statements
This PR will address https://github.com/xoxys/ansible-later/issues/35.

Collected metadata will be temp. removed from the raw task dict before
passing it to Ansibles `ModuleArgsParser` class. After processing, the
metadata will be added back to the result dict.
2020-09-26 14:13:09 +02:00
Robert Kaussow 79398d95b4
[skip ci] prepare bugfix release 2020-09-16 15:44:22 +02:00
Robert Kaussow dd6c9c4a68
fix missing tags issue 2020-09-16 15:06:06 +02:00
Robert Kaussow 9455790f75
[skip ci] prepare release 2020-09-16 11:55:08 +02:00
Robert Kaussow ef65387826
fix import ordering 2020-09-16 11:49:26 +02:00
Robert Kaussow 69fe81a9b7
deprecate the use of 'skip_ansible_lint' 2020-09-16 11:44:57 +02:00
Robert Kaussow 8cc9583949
allow 'shell' module if 'args.executable' is used 2020-09-16 11:04:52 +02:00
Robert Kaussow 6b4ad1cbea
publish images to dockerhub and quay 2020-09-06 19:59:28 +02:00
Robert Kaussow 6e89c98dc9
[skip ci] prepare release 2020-06-27 23:25:41 +02:00
Robert Kaussow 3d88f0b8f8
allow different naming for the directory based config file 2020-06-27 22:41:51 +02:00
Robert Kaussow d7dac43a72
add custom modules auto-detection 2020-06-27 22:33:51 +02:00
Robert Kaussow b0b8e825d3 bump version to v0.3.5 2020-06-03 22:55:42 +02:00
Robert Kaussow 7c6dfed431 fix spelling and formatting of the docs 2020-06-03 16:23:46 +02:00
Robert Kaussow 958911fdad fix pytest coverage 2020-06-03 13:34:03 +02:00
Robert Kaussow 7c7499313e fix linting 2020-05-19 10:46:02 +02:00
Robert Kaussow 76ce185461 bump version to 0.3.4 2020-05-19 10:42:19 +02:00
Robert Kaussow 32f7e7c37a encode module arguments to fix comparison 2020-05-19 10:40:29 +02:00
Robert Kaussow 4edb2af1cd [SKIP CI] prepare release 2020-04-11 17:27:32 +02:00
Robert Kaussow 6dbfd81152 add flake8-pep3101 2020-04-11 16:20:41 +02:00
Robert Kaussow 28904b94d9 prepare new release 2020-04-06 09:42:49 +02:00
Robert Kaussow 22080185db use dimmed color style for full log text 2020-04-06 08:34:25 +02:00
Robert Kaussow 258f1a21f0 use colorama light colors instead of bright style 2020-04-05 23:56:26 +02:00
Robert Kaussow fddb65d98b fix pytest 2020-04-05 15:42:48 +02:00
Robert Kaussow e1ff6d2e73 slightly rework of the log output formatting 2020-04-05 15:24:51 +02:00
Robert Kaussow ccc9e5b6d7 fix linting issues 2020-04-05 14:54:39 +02:00
Robert Kaussow 675bb6271e add yapf as formatter 2020-04-05 14:33:43 +02:00
Robert Kaussow fcbfc2f388 trigger missing task separation check only for real task names 2020-04-05 13:57:36 +02:00
Robert Kaussow 1d455ab85c decode task actions to prevent errors 2020-03-04 12:29:35 +01:00
Robert Kaussow 53534716af fix to_bool params 2020-02-04 00:12:03 +01:00
Robert Kaussow 83a173204a replace removed dependency convert_bool 2020-02-04 00:03:26 +01:00
Robert Kaussow 8e5f56cd3e prepare new release 2019-11-22 12:24:17 +01:00
Robert Kaussow 031e528c4b fix handling of empty task names 2019-11-20 00:32:58 +01:00
Robert Kaussow a8e05aa0bc fix flake8 issues 2019-10-16 00:37:39 +02:00
Robert Kaussow 36bc78d1fd add new check check_yaml_document_end 2019-10-16 00:31:25 +02:00
Robert Kaussow 7e924af87b include only jinja2 strings if candidate is a template 2019-07-11 18:06:52 +02:00
Robert Kaussow 842b6b96c8 include only jinja2 strings if candidate is a template 2019-07-11 17:51:58 +02:00
Robert Kaussow 7cc976a3b2 [SKIP CI] prepare bugfix release 2019-06-21 12:10:44 +02:00
Robert Kaussow 031bbc93ad remove old vault passowrd references (obsolete) 2019-06-21 11:51:02 +02:00
Robert Kaussow b55eee5ddf fix splitting modules argument string 2019-06-21 11:43:55 +02:00
Robert Kaussow 3777f6c44c bump version 2019-04-25 14:32:14 +02:00
Robert Kaussow 257bf8a28d prepare bugfix release 2019-04-23 14:54:31 +02:00
Robert Kaussow 7b6eeaec46 small adjustments for cli descriptions and readme 2019-04-17 12:36:46 +02:00
Robert Kaussow 27f91cb260 bump version 2019-04-17 12:33:44 +02:00
Robert Kaussow cc8fad4d3c add exclude_filter option 2019-04-17 12:33:23 +02:00
Robert Kaussow 095e4b6e2e [SKIP CI] cleanup 2019-04-16 11:41:29 +02:00
Robert Kaussow 040b53f0f1 fix multiprocessing 2019-04-16 11:33:21 +02:00
Robert Kaussow 37740d1041 use sys.exit 2019-04-16 10:09:14 +02:00
Robert Kaussow d6b954c77c prepare bugfix release 2019-04-16 09:58:57 +02:00
Robert Kaussow ef05c82f50 prepare bugfix release 2019-04-15 18:55:54 +02:00
Robert Kaussow a1a0099c7d some bugfixes 2019-04-15 17:26:02 +02:00
Robert Kaussow eeb8647d97 [SKIP CI] prepare bugfix release 2019-04-15 15:09:00 +02:00
Robert Kaussow 14db85c252 set minimal workers to 2 2019-04-15 15:05:25 +02:00
Robert Kaussow e05cad6de7 rename ansible_review_min_version to ansible_later_min_version 2019-04-15 12:26:58 +02:00
Robert Kaussow 248de52360 add some unit tests 2019-04-15 11:20:12 +02:00
Robert Kaussow a3b6ef54a3 add detection for duplicate ids in standards 2019-04-12 13:45:35 +02:00
Robert Kaussow 10aaa8e7e3 fix pytest 2019-04-11 15:56:20 +02:00
Robert Kaussow 80ea191fa1 fix linting 2019-04-11 14:24:50 +02:00
Robert Kaussow 6444fa3d5a switching to pathspec for globbing 2019-04-11 14:17:44 +02:00
Robert Kaussow 04dec26a3a add missing dependencies and fix drone pipeline 2019-04-11 13:00:36 +02:00
Robert Kaussow f0f5e20a23 remove used assert method outside of test 2019-04-11 11:57:30 +02:00
Robert Kaussow 9cb5b734ab small fixes 2019-04-11 11:24:30 +02:00
Robert Kaussow 885332042b fix loglevel parsing 2019-04-11 11:01:22 +02:00
Robert Kaussow 5d805d11c8 fix log level value form config file 2019-04-11 10:50:38 +02:00
Robert Kaussow c4b2e1e945 small adjustments 2019-04-11 10:21:00 +02:00
Robert Kaussow bdeded30f2 force single line in isort and fix pep8 issues 2019-04-10 16:09:37 +02:00
Robert Kaussow 0ee05b9fc0 move github config to toplevel 2019-04-10 14:57:56 +02:00
Robert Kaussow 20708d28d0 add github config 2019-04-10 14:57:20 +02:00
Robert Kaussow 40acaa0b13 add some missing docstrings 2019-04-10 14:50:48 +02:00
Robert Kaussow 46d1e35ece configuration options for single rules can be set in config file 2019-04-10 14:44:08 +02:00
Robert Kaussow 392aa9308d fix formatting issues 2019-04-09 10:58:15 +02:00
Robert Kaussow c2397b498a merge folderbased config file into global settings 2019-04-09 10:36:52 +02:00
Robert Kaussow 60e4694e7f use equal match for inventory file classification 2019-04-09 09:17:29 +02:00
Robert Kaussow 4c6c5c9120 enable multiprocessing for candidate reviews 2019-04-08 16:55:07 +02:00
Robert Kaussow 703b0e4e58 cleanup 2019-04-05 22:05:06 +02:00
Robert Kaussow 66d5ceec76 fix small logging issues 2019-04-05 14:02:14 +02:00
Robert Kaussow 397c92a27b add better multiline logging and fix json format issues 2019-04-05 12:23:18 +02:00
Robert Kaussow 554d957af3 fix some linting errors 2019-04-04 16:06:18 +02:00
Robert Kaussow 2b574970c2 fix json logging and add file exclude options 2019-04-04 15:35:47 +02:00
Robert Kaussow fa14538f20 add some details to json logs 2019-04-03 23:39:27 +02:00
Robert Kaussow 4f33afff3e work on better json logging 2019-04-03 17:42:46 +02:00
Robert Kaussow be74192c67 refactor logging and candidates 2019-04-02 16:34:03 +02:00
Robert Kaussow 592da84e85 complete rewrite for settings and logging 2019-04-01 15:07:22 +02:00
Robert Kaussow 0ffdf36a0d refactor logging and switch to python standard library 2019-03-28 16:54:45 +01:00
Robert Kaussow f92c77f5b8 basic setup for new settings object 2019-03-28 01:20:43 +01:00
Robert Kaussow 4b011891bf add some useful flake8 plugins and start refactoring formatting 2019-03-27 17:00:38 +01:00
Robert Kaussow 43d5a7c41c [SKIP CI] prepare new release 2019-03-25 11:30:41 +01:00
Robert Kaussow d2dec85cd5 refactor drone pipeline config 2019-03-25 09:58:24 +01:00
Robert Kaussow 0282ec4c06 add basic colorama implementation 2019-03-21 16:05:55 +01:00
Robert Kaussow 2986f8771e [SKIP CI] prepare new release 2019-02-19 11:13:28 +01:00
Robert Kaussow bae3078c75 add block paramters to __ansible_action_meta__ if task is 'block' 2019-02-19 10:09:23 +01:00