get rid of useless shit
This commit is contained in:
parent
83a28e42bd
commit
26522d9651
|
@ -1,5 +1,5 @@
|
|||
- hosts: '{{ target }}'
|
||||
gather_facts: true
|
||||
gather_facts: false
|
||||
become: true
|
||||
remote_user: root
|
||||
strategy: free
|
||||
|
@ -8,12 +8,4 @@
|
|||
dnf:
|
||||
name: "*"
|
||||
state: latest
|
||||
when: ansible_facts['os_family'] == 'RedHat' and ansible_facts ['distribution_major_version'] >= '8'
|
||||
|
||||
- name: yum update
|
||||
yum:
|
||||
name: "*"
|
||||
state: latest
|
||||
when: ansible_facts['os_family'] == 'RedHat' and ansible_facts ['distribution_major_version'] <= '7'
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue