diff --git a/.ansible-lint b/.ansible-lint index d937bf21eb799de4335e2d243c7252ed428f1f6f..6192fa2d946252f0d79ac54b2448731d6b79233f 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,20 +1,11 @@ --- -# https://docs.ansible.com/ansible-lint/rules/default_rules.html +# https://ansible-lint.readthedocs.io/rules/ skip_list: - jinja[spacing] - - no-changed-when - - schema[meta] - key-order[task] - name[template] - # Lines should be no longer than 160 chars - - "204" - # Commands should not change things if nothing needs doing - # - "301" - # chown used in place of argument owner to file module - # - "302" - # Shells that use pipes should set the pipefail option - # - "306" - # Tasks that run when changed should likely be handlers - # - "503" + - no-changed-when + - package-latest + - schema[meta] # vim: syntax=yaml ... diff --git a/tasks/install.yml b/tasks/install.yml index 2bb547637a5c7b7bbc2476271210c93bf30037f3..99c8de54ee9124d27a3e972cddabb4f672ebfa19 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -71,6 +71,7 @@ ansible.builtin.apt: pkg: - icinga2 + - icinga2-bin - icinga2-common - vim-icinga2 state: latest