Commit Graph

167 Commits

Author SHA1 Message Date
Robert Kaussow 81d33daa69
fix: add 'handlers' to allowed prevlines for CheckTaskSeparation (#249) 2021-10-19 09:01:11 +02:00
Robert Kaussow 58336d35dd
fix: add 'always' to allowed prevlines for CheckTaskSeparation (#241) 2021-10-11 21:26:33 +02:00
Robert Kaussow b8d4783646
fix: add 'rescue' to allowed prevlines for CheckTaskSeparation (#240) 2021-10-11 16:12:35 +02:00
Robert Kaussow 440aaea5b1
feat: add config option to exclude modules from native yaml check (#236) 2021-10-10 22:59:52 +02:00
Robert Kaussow b0271ef29b
fix: add classification for roles argument specs file (#235) 2021-10-10 22:14:01 +02:00
Robert Kaussow dde7eae3b8
feat: add config option to exclude tasks from named task check (#232) 2021-10-10 18:30:40 +02:00
Robert Kaussow 123f8fbcb5
fix: report deprecated ansible-later features as warning by default (#233) 2021-10-10 17:00:44 +02:00
Robert Kaussow 427356cf61
fix: fix format string of the json logger (#226) 2021-10-07 23:17:27 +02:00
Robert Kaussow c5f4f2212f
feat: add config option to set allowed literal bools (#225) 2021-10-07 22:59:39 +02:00
Robert Kaussow fc6d5636a8
chore: remove six and switch to native python3 syntax (#183) 2021-08-08 21:25:03 +02:00
Robert Kaussow e52ec3c034
fix: remove yaml loader from yamllint as this results in always pass (#153) 2021-06-09 15:58:48 +02:00
Robert Kaussow e74cd668d9
remove doubleslash entries from CheckNativeYaml task_action 2021-06-08 09:24:17 +02:00
Robert Kaussow 3e6740d498
use utf8 decode 2021-06-08 01:48:39 +02:00
Robert Kaussow af357c29ce
fix quoting regression 2021-06-07 18:08:56 +02:00
Robert Kaussow aa29687fc8
fix: fix quoting regression 2021-06-07 17:29:44 +02:00
Robert Kaussow 1652014f9c
fix: fix encoding error if string contains backslashes (#152) 2021-06-07 16:28:14 +02:00
Robert Kaussow 2d37210249
fix: avoid manipulation of an existing task object by a shallow copy (#118)
Fixes: https://github.com/emsecrist/ansible-later-issue-117
2021-05-04 21:55:44 +02:00
Robert Kaussow 5dae0a6976
fix: add missing vault yaml tag (#113) 2021-04-13 22:27:26 +02:00
Ankit Dobhal 72d85b002b
refactor: additional code quality improvements (#78) 2021-02-12 16:48:45 +01:00
Robert Kaussow 975450f46a
remove unused helptext formatting in CheckFilePermissionMissing 2021-02-06 15:58:36 +01:00
Robert Kaussow f41d046f1d
fix: skip CheckFilePermissionMissing if state uses jinja2 2021-02-06 15:44:23 +01:00
Robert Kaussow bd6a7c576f
fix dependencies check in CheckMetaMain 2021-02-04 21:08:38 +01:00
Robert Kaussow 53444a4a75
feat: allow to set standards version in config file (#69)
* feat: allow to set standards version in config file

* add documentation
2021-02-01 20:27:00 +01:00
Robert Kaussow b1dd83cea6
fix linting 2021-01-31 22:54:56 +01:00
Robert Kaussow 017f61db66
feat: add rule CheckChangedInWhen 2021-01-31 22:42:00 +01:00
Robert Kaussow a21f599cad
feat: add rule CheckRelativeRolePaths 2021-01-31 22:24:33 +01:00
Robert Kaussow b050e8c152
fix linting 2021-01-31 18:23:38 +01:00
Robert Kaussow 273b32a200
feat: add rule CheckLocalAction 2021-01-31 18:20:24 +01:00
Robert Kaussow 3bcfb4852e
feat: add rule CheckNestedJinja 2021-01-31 18:05:01 +01:00
Robert Kaussow 3c822b4525
fix linting 2021-01-31 14:44:36 +01:00
Robert Kaussow f70f0ca1f1
feat: add rule CheckWhenFormat 2021-01-31 14:22:48 +01:00
Robert Kaussow 9e004825d8
fix helptext formatting 2021-01-31 14:22:04 +01:00
Robert Kaussow 0b68e2c120
fix: handle exception during ansibles construct mapping 2021-01-31 14:17:57 +01:00
Robert Kaussow dd93c07279
fix linting 2021-01-31 13:45:24 +01:00
Robert Kaussow 4278df2848
fix: ensure galaxy_info is top-level key in meta file 2021-01-31 13:33:57 +01:00
Robert Kaussow e90b80f12f
feat: add rule CheckMetaChangeFromDefault 2021-01-31 13:33:11 +01:00
Robert Kaussow e878a3cc33
feat: add rule CheckGitHasVersion 2021-01-31 12:48:32 +01:00
Robert Kaussow 647539e726
feat: add rule CheckFilePermissionOctal 2021-01-31 12:36:51 +01:00
Robert Kaussow 6f2a06357f
rename and fix rule CheckFilePermissionMissing 2021-01-31 12:35:57 +01:00
Robert Kaussow bf3908ac36
refactor!: drop module loading workaround for Ansible < 2.4 2021-01-30 17:54:38 +01:00
Robert Kaussow 1c7a02974c
fix: dont use sys.exit within multiprocessing 2021-01-30 17:50:40 +01:00
Robert Kaussow 4362305e46
feat: add rule CheckMissingFilePermission 2021-01-30 17:42:42 +01:00
Robert Kaussow 23f308730e
rename rule to CheckCompareToEmptyString 2021-01-30 16:57:49 +01:00
Robert Kaussow 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
Robert Kaussow cd482dc73b
fix import order 2021-01-20 17:31:13 +01:00
Robert Kaussow 6cc9df1a3e
fix linting 2021-01-20 17:26:47 +01:00
Robert Kaussow 2b6676636b
feat: add rule check_command_instead_of_argument 2021-01-19 22:58:47 +01:00
Robert Kaussow b560222281
fix: wrong check for candidates faulty flag 2021-01-19 22:33:30 +01:00
Robert Kaussow d7d50ead10
fix: skip ansible-later min version check for default placeholder 0.0.0 2021-01-19 22:31:53 +01:00
Robert Kaussow 417ca9557d
fix linting 2021-01-11 12:11:37 +01:00