diff --git a/tasks/main.yml b/tasks/main.yml index 6912be4..879ad6f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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"