mirror of
https://github.com/roles-ansible/ansible_role_packages.git
synced 2024-08-16 10:19:51 +02:00
improve versionscheck
This commit is contained in:
parent
53829ac72a
commit
78674496c7
2 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,13 @@
|
|||
---
|
||||
- name: Print OS Infos
|
||||
debug:
|
||||
msg: " ansible_os_family = '{{ ansible_os_family }}'\n ansible_distribution = '{{ ansible_distribution }}'\n ansible_distribution_version = '{{ ansible_distribution_version }}'\n ansible_distribution_release = '{{ ansible_distribution_release }}'\n ansible_machine = '{{ ansible_machine }}'\n\n\n ansible_hostname = '{{ ansible_hostname }}'\n ansible_fqdn = '{{ ansible_fqdn }}'\n"
|
||||
msg: |
|
||||
ansible_os_family = '{{ ansible_os_family }}'
|
||||
ansible_distribution = '{{ ansible_distribution }}'
|
||||
ansible_distribution_version = '{{ ansible_distribution_version }}'
|
||||
ansible_distribution_release = '{{ ansible_distribution_release }}'
|
||||
ansible_machine = '{{ ansible_machine }}'
|
||||
|
||||
inventory_hostname = '{{ inventory_hostname }}'
|
||||
ansible_hostname = '{{ ansible_hostname }}'
|
||||
ansible_fqdn = '{{ ansible_fqdn }}'
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
register: playbook_version
|
||||
when: submodules_versioncheck|bool
|
||||
ignore_errors: yes
|
||||
failed_when: false
|
||||
|
||||
- name: Print remote role version
|
||||
debug:
|
||||
|
|
Loading…
Reference in a new issue