From 8810afe667671c59596daa7bc07e77080bc70f42 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 9 Oct 2022 19:47:44 +0200 Subject: [PATCH] ansible lint fix --- tasks/depot_redhat.yml | 2 +- tasks/main.yml | 2 +- tasks/ssh.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/depot_redhat.yml b/tasks/depot_redhat.yml index 077a90e..397e8ea 100644 --- a/tasks/depot_redhat.yml +++ b/tasks/depot_redhat.yml @@ -1,6 +1,6 @@ - name: add repo main contrib dnf: name: epel-release - state: latest + state: present update_cache: true become: true diff --git a/tasks/main.yml b/tasks/main.yml index 1c4d07b..a23a6a1 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,7 +1,7 @@ - name: gather os specific variables include_vars: "{{ item }}" with_first_found: - - "{{ ansible_os_family }}-{{ ansible_distribution_major_version}}.yml" + - "{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml" - "{{ ansible_os_family }}.yml" tags: vars diff --git a/tasks/ssh.yml b/tasks/ssh.yml index 4c54a9e..0180587 100644 --- a/tasks/ssh.yml +++ b/tasks/ssh.yml @@ -1,7 +1,7 @@ - name: copy ssh config for user become: true template: - dest: "/home/{{item}}/.ssh" + dest: "/home/{{ item }}/.ssh" src: "ssh/config.j2" force: true remote_src: false