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
|
- debug:
|
||||||
hosts:
|
msg:
|
||||||
- '{{target|default("all")}}'
|
- "Distribution: {{ hostvars[inventory_hostname].ansible_distribution }}"
|
||||||
become: true
|
- "Major version: {{ hostvars[inventory_hostname].ansible_distribution_major_version }}"
|
||||||
tasks:
|
- "Version: {{ hostvars[inventory_hostname].ansible_distribution_version }}"
|
||||||
- ansible.builtin.import_role:
|
- "kernel: {{ hostvars[inventory_hostname].ansible_kernel }}"
|
||||||
name: mylimbo.globals.host_maintenance
|
|
||||||
tasks_from: os_update
|
|
||||||
Reference in new issue
Block a user