Add linux/test-listpkgs.yaml
This commit is contained in:
parent
02ac069075
commit
78dfc55748
11
linux/test-listpkgs.yaml
Normal file
11
linux/test-listpkgs.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
|
||||
- hosts: all
|
||||
gather_facts: yes
|
||||
become: yes
|
||||
|
||||
tasks:
|
||||
|
||||
- name: Print the package facts
|
||||
ansible.builtin.debug:
|
||||
var: ansible_facts.packages
|
Loading…
x
Reference in New Issue
Block a user