This commit is contained in:
parent
35e5b08949
commit
8810afe667
@ -1,6 +1,6 @@
|
||||
- name: add repo main contrib
|
||||
dnf:
|
||||
name: epel-release
|
||||
state: latest
|
||||
state: present
|
||||
update_cache: true
|
||||
become: true
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user