jp
Webarchitects JMESPath Ansible role
An Ansible role to install the latest version of jp from GitHub on Debian Bullseye and Ubuntu Jammy, on Debian Bookworm and Debian Trixie, the .deb
package is installed and the GitHub version is removed.
Usage
This role can be run as a regular user or as root, when run as a regular user jp
and jpterm
will be installed in ~/.local/bin
and when run as root
in /usr/local/bin
.
Role Variables
Set jp
to true
for the tasks in this role to be run.
See the defaults/main.yml for the role defaults and VARIABLES.md file for automatically generated documentation for all the role variables.
JMESPath Terminal
This role doesn't install jpterm
by default, when jp_term
is set to true
this role will use pipx
to install the forked version, jmespath-community-terminal as this version does not require an old version of setuptools
.
Repository
The primary URL of this repo is https://git.coop/webarch/jp
however it is also mirrored to GitHub and available via Ansible Galaxy.
If you use this role please use a tagged release, see the release notes.
This role can also be used with the localhost repo to install jp
locally.
License
Copyright 2022-2024 Chris Croome, <[email protected]>.
This role is released under the same terms as Ansible itself, the GNU GPLv3.
Ansible role for installing jp, the command line interface to JMESPath on Debian and Ubuntu.
ansible-galaxy install webarch-coop/ansible-role-jp