Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
tests: more debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
duck-rh committed Jul 10, 2020
1 parent 2c6955e commit e1fc310
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions molecule/_resources/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@
hosts: all
gather_facts: yes
tasks:
- name: "Display kernel version"
debug:
var: ansible_kernel_version
- name: "Display OS version #1"
slurp:
src: "{{ (ansible_os_family == 'Debian') | ternary('/etc/debian_version', '/etc/redhat-release') }}"
ignore_errors: True
changed_when: False
register: os_version
- name: "Display OS version #1"
debug:
msg: "{{ os_version['content'] | b64decode }}"
# to ensure having a real FQDN
# (dots are not allowed in LXD container names, thus sticking to short names)
- name: set proper hostname
Expand Down

0 comments on commit e1fc310

Please sign in to comment.