change OS detection
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2022-10-30 18:02:22 +01:00
parent 7b2305437d
commit 666fb8dfdc

View File

@ -2,7 +2,7 @@
# tasks file for ansible_bootstrap
- name: detect debian
raw: uname -a|grep Debian||true
raw: at /etc/os-release|grep Debian||true
register: debian
- name: detect Rocky
@ -10,7 +10,7 @@
register: rocky
- name: detect arch
raw: uname -a|grep arch||true
raw: cat /etc/os-release|grep Arch||true
register: arch
- name: "install python for rocky"