Commit af38e159 authored by Chris Croome's avatar Chris Croome

use ansible_distribution_release

parent a1d472cb
Pipeline #8677 passed with stage
in 24 seconds
---
- name: Check /etc/debian_version
shell: "lsb_release -c | awk '{ print $2 }'"
register: munin_debian_version_check
check_mode: false
changed_when: false
tags:
- munin
- name: Set a fact for the Debian version
set_fact:
munin_debian_version: "{{ munin_debian_version_check.stdout }}"
munin_debian_version: "{{ ansible_distribution_release }}"
tags:
- munin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment