Reorganize project: separate playbooks/ and files/, add shell-setup (fish+nvim+tide+lazyvim)
This commit is contained in:
parent
9bed146909
commit
b5cabaf1fe
10 changed files with 155 additions and 15 deletions
16
playbooks/facts.yml
Normal file
16
playbooks/facts.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
- name: Show VM facts
|
||||
hosts: proxmox_vms
|
||||
gather_facts: true
|
||||
|
||||
tasks:
|
||||
- name: Print important facts
|
||||
ansible.builtin.debug:
|
||||
msg:
|
||||
- "Host: {{ inventory_hostname }}"
|
||||
- "Hostname: {{ ansible_facts[\"hostname\"] }}"
|
||||
- "OS family: {{ ansible_facts[\"os_family\"] }}"
|
||||
- "Distribution: {{ ansible_facts[\"distribution\"] }}"
|
||||
- "Distribution version: {{ ansible_facts[\"distribution_version\"] }}"
|
||||
- "Package manager: {{ ansible_facts[\"pkg_mgr\"] }}"
|
||||
- "Python: {{ ansible_facts[\"python\"][\"executable\"] }}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue