Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
A text-based user interface (TUI) for the Red Hat Ansible Automation Platform
A text-based user interface (TUI) for Ansible.
A demo of the interface can be found on YouTube.
Refer to the Talk to us section of the Contributing guide to find out how to get in touch with us.
You can also find more information in the Ansible communication guide.
Any kind of contribution to this project is very welcome and appreciated, whether it is a documentation improvement, bug report, pull request review, or a patch.
See the Contributing guidelines for details.
Please see the official Ansible Community Code of Conduct.
Getting started with ansible-navigator is as simple as:
pip3 install 'ansible-navigator[ansible-core]'
ansible-navigator --help
(Users wishing to install within a virtual environment might find the relevant Python documentation useful.)
By default, ansible-navigator uses a container runtime (podman
or docker
,
whichever it finds first) and runs Ansible within an execution environment
(a pre-built container image which includes ansible-core along with a set
of Ansible collections.)
This default behavior can be disabled by starting ansible-navigator with
--execution-environment false
. In this case, Ansible and any collections
needed must be installed manually on the system.
Additional Linux
, macOS
and Windows with WSL2
installation
instructions are available in the Installation guide.
When running ansible-navigator
with no arguments, you will be presented with
the welcome page. From this page, you can run playbooks, browse collections,
explore inventories, read Ansible documentation, and more.
A full list of key bindings can be viewed by typing :help
.
There are two modes in which ansible-navigator can be run:
The interactive mode is the default and this default can be overwritten by
passing --mode stdout
(-m stdout
) or setting mode
in
configuration.
All of ansible-navigator's features can be accessed from the welcome page described above, but as a shortcut, commands can also be provided directly as command-line arguments.
Some examples:
ansible-navigator collections
ansible-navigator config
ansible-navigator doc ansible.netcommon.cli_command
ansible-navigator images
ansible-navigator inventory -i inventory.yaml
ansible-navigator run site.yaml -i inventory.yaml
Or using the stdout mode described above:
ansible-navigator config dump -m stdout
ansible-navigator doc sudo -t become -m stdout
... and so on. A full list of subcommands and their relation to Ansible commands can be found in the subcommand documentation.
There are several ways to configure ansible-navigator and users and projects are free to choose the most convenient method for them. The full hierarchy of how various configuration sources are applied can be found in the FAQ mentioned below.
Of note, projects making use of ansible-navigator can include a project-wide configuration file with the project. If one is not found, ansible-navigator will look for a user-specific configuration file in the user's home directory. Details about this can be found in the settings documentation.
We maintain a list of common questions which provides a good resource to check if something is tripping you up. We also encourage additions to this document for the greater community!
ansible-navigator is released under the Apache License version 2. See the LICENSE file for more details.
FAQs
A text-based user interface (TUI) for the Red Hat Ansible Automation Platform
We found that ansible-navigator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.