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