Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jim@debian:~$ ansible --inventory=hosts.yml --module-name=setup --args="filter=ansible_lsb" localhost
- [WARNING]: Unable to parse /home/jim/hosts.yml as an inventory source
- [WARNING]: No inventory was parsed, only implicit localhost is available
- localhost | SUCCESS => {
- "ansible_facts": {
- "ansible_lsb": {
- "codename": "bookworm",
- "description": "Debian GNU/Linux bookworm/sid",
- "id": "Debian",
- "major_release": "testing",
- "release": "testing"
- }
- },
- "changed": false
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement