Tests run on centos 8.
This commit is contained in:
+9
-3
@@ -1,4 +1,10 @@
|
||||
---
|
||||
# tasks file for os_release
|
||||
- debug:
|
||||
msg: "System {{ inventory_hostname }} has uuid {{ ansible_product_uuid }}"
|
||||
- name: Retrieve and parse the contents of /etc/os-release
|
||||
ansible.netcommon.cli_parse:
|
||||
command: cat /etc/os-release
|
||||
parser:
|
||||
name: ansible.netcommon.native
|
||||
os: linux
|
||||
command: cat os-release
|
||||
set_fact: os_release
|
||||
|
||||
|
||||
Reference in New Issue
Block a user