You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
(Originally reported as a docs issue by @atomic111)
ansible-inventory -i hosts.ini --list | cnspec scan --inventory-format-ansible scans notebook but not the target that is defined in the inventory
shell is zsh
ansible-inventory -i inventory-test.yml --list | cnspec scan --inventory-format-ansible
→ no provider specified, defaulting to local. Use --help to see all providers.
→ loaded configuration from /Users/user/.config/mondoo/mondoo.yml using source default
→ using service account credentials
→ discover related assets for 1 asset(s)
notebook
──────────────────────────────── 0%
→ synchronize assets
Run ansible-inventory -i hosts.ini --list | cnspec scan --inventory-format-ansible on an inventory file like the one above.
Expected behavior
cnspec scans inventory file
Screenshots or CLI Output
ansible-inventory -i inventory-test.yml --list | cnspec scan --inventory-format-ansible
→ no provider specified, defaulting to local. Use --help to see all providers.
→ loaded configuration from /Users/user/.config/mondoo/mondoo.yml using source default
→ using service account credentials
→ discover related assets for 1 asset(s)
notebook
──────────────────────────────── 0%
→ synchronize assets
Desktop (please complete the following information):
using zsh
Additional context
Scanning Ansible inventory hosts.json does work fine. It's only the pipe method that isn't working.
The text was updated successfully, but these errors were encountered:
Describe the bug
(Originally reported as a docs issue by @atomic111)
ansible-inventory -i hosts.ini --list | cnspec scan --inventory-format-ansible
scans notebook but not the target that is defined in the inventoryshell is zsh
inventory file:
To Reproduce
Steps to reproduce the behavior:
Run
ansible-inventory -i hosts.ini --list | cnspec scan --inventory-format-ansible
on an inventory file like the one above.Expected behavior
cnspec scans inventory file
Screenshots or CLI Output
Desktop (please complete the following information):
using zsh
Additional context
Scanning Ansible inventory hosts.json does work fine. It's only the pipe method that isn't working.
The text was updated successfully, but these errors were encountered: