Skip to content
Snippets Groups Projects
Commit 8766b2f3 authored by Kai-Philipp Nosper's avatar Kai-Philipp Nosper
Browse files

Add os detail prints

parent 220a91ff
Branches
No related tags found
No related merge requests found
---
- hosts: localhost
gather_facts: true
vars:
target_user: pi
jupyter_service: true
......@@ -10,7 +11,12 @@
fail:
msg: Python version is not supported. Set ignore_python_version to true to ignore this.
when: (not ignore_python_version) and not (ansible_python_version is version('3.7.0', '>=') and ansible_python_version is version('3.10.0', '<'))
- name: System details
debug: msg="{{ item }}"
with_items:
- "{{ ansible_distribution }}"
- "{{ ansible_distribution_version }}"
- "{{ ansible_distribution_major_version }}"
# - name: Upgrade packages
# become: true
# apt:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment