get rid of useless shit
This commit is contained in:
parent
83a28e42bd
commit
26522d9651
|
@ -1,5 +1,5 @@
|
||||||
- hosts: '{{ target }}'
|
- hosts: '{{ target }}'
|
||||||
gather_facts: true
|
gather_facts: false
|
||||||
become: true
|
become: true
|
||||||
remote_user: root
|
remote_user: root
|
||||||
strategy: free
|
strategy: free
|
||||||
|
@ -8,12 +8,4 @@
|
||||||
dnf:
|
dnf:
|
||||||
name: "*"
|
name: "*"
|
||||||
state: latest
|
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