Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Tyagov
slapos.package
Commits
684aec46
Commit
684aec46
authored
Mar 29, 2023
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: improve get-os-info playbook
parent
518f0334
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
playbook/util/get-os-info.yml
playbook/util/get-os-info.yml
+6
-4
No files found.
playbook/util/get-os-info.yml
View file @
684aec46
...
...
@@ -2,11 +2,13 @@
gather_facts
:
yes
become
:
false
tasks
:
-
name
:
Distribution
-
name
:
Distribution
(ansible_distribution)
debug
:
msg="{{ ansible_distribution }}"
-
name
:
Distribution version
-
name
:
Distribution version
(ansible_distribution_version)
debug
:
msg="{{ ansible_distribution_version}}"
-
name
:
Distribution major version
-
name
:
Distribution major version
(ansible_distribution_major_version)
debug
:
msg="{{ ansible_distribution_major_version }}"
-
name
:
OS family
-
name
:
OS family
(ansible_os_family)
debug
:
msg="{{ ansible_os_family }}"
-
name
:
LSB (ansible_lsb)
debug
:
msg="{{ ansible_lsb }}"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment