mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
version_compare is deprecated
This commit is contained in:
@ -10,14 +10,10 @@
|
||||
- ansible_os_family == 'RedHat'
|
||||
|
||||
- name: "Apt get update"
|
||||
shell: apt-get update && apt-get install -y python-apt
|
||||
command: apt-get update && apt-get install -y python-apt
|
||||
when:
|
||||
- ansible_os_family == 'Debian'
|
||||
|
||||
- name: debug
|
||||
debug:
|
||||
var: ansible_distribution_major_version
|
||||
|
||||
- name: "Installing packages on Debian"
|
||||
apt:
|
||||
name:
|
||||
|
Reference in New Issue
Block a user