diff --git a/src/ansiblelint/rules/DeprecatedModuleRule.py b/src/ansiblelint/rules/DeprecatedModuleRule.py index e7fd6eff3b..00adeff5c1 100644 --- a/src/ansiblelint/rules/DeprecatedModuleRule.py +++ b/src/ansiblelint/rules/DeprecatedModuleRule.py @@ -12,7 +12,7 @@ class DeprecatedModuleRule(AnsibleLintRule): 'These are deprecated modules, some modules are kept ' 'temporarily for backwards compatibility but usage is discouraged. ' 'For more details see: ' - 'https://docs.ansible.com/ansible/latest/modules/list_of_all_modules.html' + 'https://docs.ansible.com/ansible/latest/collections/index_module.html' ) severity = 'HIGH' tags = ['deprecations'] diff --git a/src/ansiblelint/rules/OctalPermissionsRule.py b/src/ansiblelint/rules/OctalPermissionsRule.py index 69b8dc1e72..181b2b95d6 100644 --- a/src/ansiblelint/rules/OctalPermissionsRule.py +++ b/src/ansiblelint/rules/OctalPermissionsRule.py @@ -29,7 +29,7 @@ class OctalPermissionsRule(AnsibleLintRule): description = ( 'Numeric file permissions without leading zero can behave ' 'in unexpected ways. See ' - 'http://docs.ansible.com/ansible/file_module.html' + 'https://docs.ansible.com/ansible/latest/collections/ansible/builtin/file_module.html' ) severity = 'VERY_HIGH' tags = ['formatting']