mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
(less) 2> /dev/null would fail if stdin is /dev/null. Sinceless --version do not read anything from stdin, it is perfect for seeing if the software exist or not. Also replace the whole os system detection by directly using subprocess ( as we use it elsewhere, we already depend on it ). |
||
|---|---|---|
| .. | ||
| ansible | ||
| ansible-doc | ||
| ansible-galaxy | ||
| ansible-playbook | ||
| ansible-pull | ||
| ansible-vault | ||