modified: roles/host_maintenance/tasks/os_info.yaml
image-deploy.yaml / build-push-image (push) Successful in 22s
image-deploy.yaml / build-push-image (push) Successful in 22s
This commit is contained in:
1 parent
7f0a72656d
commit
e245f5ebff
1 file changed
+6
-8
@@ -1,8 +1,6 @@
|
||||
- name: Host Maintenance - Os update
|
||||
hosts:
|
||||
- '{{target|default("all")}}'
|
||||
become: true
|
||||
tasks:
|
||||
- ansible.builtin.import_role:
|
||||
name: mylimbo.globals.host_maintenance
|
||||
tasks_from: os_update
|
||||
- debug:
|
||||
msg:
|
||||
- "Distribution: {{ hostvars[inventory_hostname].ansible_distribution }}"
|
||||
- "Major version: {{ hostvars[inventory_hostname].ansible_distribution_major_version }}"
|
||||
- "Version: {{ hostvars[inventory_hostname].ansible_distribution_version }}"
|
||||
- "kernel: {{ hostvars[inventory_hostname].ansible_kernel }}"
|
||||
Reference in new issue
Block a user