From 6949f67deca576ed92316b73638ed059334b1be6 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Thu, 4 Jan 2024 16:37:17 -0700 Subject: [PATCH] ci: support ansible-lint and ansible-test 2.16 Fix yamllint issue with markdownlint config Use FQCN for community.general modules Signed-off-by: Rich Megginson --- .ansible-lint | 2 +- .markdownlint.yaml | 1 + tasks/main.yml | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index 1474aad..d294ab4 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -21,6 +21,6 @@ exclude_paths: - .markdownlint.yaml - examples/roles/ mock_modules: - - ini_file + - community.general.ini_file mock_roles: - linux-system-roles.tlog diff --git a/.markdownlint.yaml b/.markdownlint.yaml index 4f8a979..6bf4ccd 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,3 +1,4 @@ +--- # Default state for all rules default: true diff --git a/tasks/main.yml b/tasks/main.yml index d89f705..4355b16 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -20,7 +20,7 @@ - "'cockpit' in ansible_facts.packages" - name: Configure sssd services section - ini_file: + community.general.ini_file: path: "{{ __tlog_sssd_conf }}" section: sssd option: "{{ item.key }}" @@ -41,7 +41,7 @@ notify: Handler tlog_handler restart sssd - name: Configure sssd proxy provider domain - ini_file: + community.general.ini_file: path: "{{ __tlog_sssd_conf }}" section: domain/nssfiles option: "{{ item.key }}"