Commit Graph

140 Commits

Author SHA1 Message Date
273b32a200
feat: add rule CheckLocalAction 2021-01-31 18:20:24 +01:00
3bcfb4852e
feat: add rule CheckNestedJinja 2021-01-31 18:05:01 +01:00
3c822b4525
fix linting 2021-01-31 14:44:36 +01:00
f70f0ca1f1
feat: add rule CheckWhenFormat 2021-01-31 14:22:48 +01:00
9e004825d8
fix helptext formatting 2021-01-31 14:22:04 +01:00
0b68e2c120
fix: handle exception during ansibles construct mapping 2021-01-31 14:17:57 +01:00
dd93c07279
fix linting 2021-01-31 13:45:24 +01:00
4278df2848
fix: ensure galaxy_info is top-level key in meta file 2021-01-31 13:33:57 +01:00
e90b80f12f
feat: add rule CheckMetaChangeFromDefault 2021-01-31 13:33:11 +01:00
e878a3cc33
feat: add rule CheckGitHasVersion 2021-01-31 12:48:32 +01:00
647539e726
feat: add rule CheckFilePermissionOctal 2021-01-31 12:36:51 +01:00
6f2a06357f
rename and fix rule CheckFilePermissionMissing 2021-01-31 12:35:57 +01:00
bf3908ac36
refactor!: drop module loading workaround for Ansible < 2.4 2021-01-30 17:54:38 +01:00
1c7a02974c
fix: dont use sys.exit within multiprocessing 2021-01-30 17:50:40 +01:00
4362305e46
feat: add rule CheckMissingFilePermission 2021-01-30 17:42:42 +01:00
23f308730e
rename rule to CheckCompareToEmptyString 2021-01-30 16:57:49 +01:00
43d7edca32
refactor plugin system to use a class-based approach (#68)
* refactor plugin system to use a class-based approach

* disable some docstring linter errors and fix imports

* cleanup

* fix docs

* add metavars to cli arguments for better helptext

* add option to disable buildin rules

* remove print

* remove dead code
2021-01-30 16:52:48 +01:00
cd482dc73b
fix import order 2021-01-20 17:31:13 +01:00
6cc9df1a3e
fix linting 2021-01-20 17:26:47 +01:00
2b6676636b
feat: add rule check_command_instead_of_argument 2021-01-19 22:58:47 +01:00
b560222281
fix: wrong check for candidates faulty flag 2021-01-19 22:33:30 +01:00
d7d50ead10
fix: skip ansible-later min version check for default placeholder 0.0.0 2021-01-19 22:31:53 +01:00
417ca9557d
fix linting 2021-01-11 12:11:37 +01:00
777415731d
fix: handle custom yaml tag '!unsafe' 2021-01-11 12:08:55 +01:00
5fc13d790e
feat: reduce duplicate error logs while processing files with parsing issues (#61) 2021-01-09 13:16:08 +01:00
204fd46304
fix: exclude lines containing '!unsafe' from ANSIBLE0004 2021-01-08 15:01:41 +01:00
0c6df867ca
chore(devel): merge flake8 and yapf config into setup.cfg (#55) 2021-01-01 14:52:10 +01:00
0a1948da14
fix: handle command module argv syntax
Fixes: #47
2020-12-30 15:45:54 +01:00
50bce1ac0a
build: migrate to poetry 2020-12-28 16:21:51 +01:00
b6369ef3bc
[skip ci] prepare release 2020-10-08 00:02:00 +02:00
479f6b9855
fix missing __ansible_action_meta__ 2020-10-07 23:30:22 +02:00
b6f7ec1d73
migrate to thegeeklab namespace 2020-09-27 14:56:49 +02:00
98a82b0b66
[skip ci] prepare release 2020-09-26 14:53:28 +02:00
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
79398d95b4
[skip ci] prepare bugfix release 2020-09-16 15:44:22 +02:00
dd6c9c4a68
fix missing tags issue 2020-09-16 15:06:06 +02:00
9455790f75
[skip ci] prepare release 2020-09-16 11:55:08 +02:00
ef65387826
fix import ordering 2020-09-16 11:49:26 +02:00
69fe81a9b7
deprecate the use of 'skip_ansible_lint' 2020-09-16 11:44:57 +02:00
8cc9583949
allow 'shell' module if 'args.executable' is used 2020-09-16 11:04:52 +02:00
6b4ad1cbea
publish images to dockerhub and quay 2020-09-06 19:59:28 +02:00
6e89c98dc9
[skip ci] prepare release 2020-06-27 23:25:41 +02:00
3d88f0b8f8
allow different naming for the directory based config file 2020-06-27 22:41:51 +02:00
d7dac43a72
add custom modules auto-detection 2020-06-27 22:33:51 +02:00
b0b8e825d3 bump version to v0.3.5 2020-06-03 22:55:42 +02:00
7c6dfed431 fix spelling and formatting of the docs 2020-06-03 16:23:46 +02:00
958911fdad fix pytest coverage 2020-06-03 13:34:03 +02:00
7c7499313e fix linting 2020-05-19 10:46:02 +02:00
76ce185461 bump version to 0.3.4 2020-05-19 10:42:19 +02:00
32f7e7c37a encode module arguments to fix comparison 2020-05-19 10:40:29 +02:00