This commit is contained in:
parent
35e5b08949
commit
8810afe667
@ -1,6 +1,6 @@
|
|||||||
- name: add repo main contrib
|
- name: add repo main contrib
|
||||||
dnf:
|
dnf:
|
||||||
name: epel-release
|
name: epel-release
|
||||||
state: latest
|
state: present
|
||||||
update_cache: true
|
update_cache: true
|
||||||
become: true
|
become: true
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ item }}"
|
include_vars: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ ansible_os_family }}-{{ ansible_distribution_major_version}}.yml"
|
- "{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml"
|
||||||
- "{{ ansible_os_family }}.yml"
|
- "{{ ansible_os_family }}.yml"
|
||||||
tags: vars
|
tags: vars
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
- name: copy ssh config for user
|
- name: copy ssh config for user
|
||||||
become: true
|
become: true
|
||||||
template:
|
template:
|
||||||
dest: "/home/{{item}}/.ssh"
|
dest: "/home/{{ item }}/.ssh"
|
||||||
src: "ssh/config.j2"
|
src: "ssh/config.j2"
|
||||||
force: true
|
force: true
|
||||||
remote_src: false
|
remote_src: false
|
||||||
|
Loading…
Reference in New Issue
Block a user