darkwizard242.httpie
Ansible Role: httpie
This role installs the HTTPie package (by default) or uninstalls it (if specified) on Debian, Ubuntu, and CentOS systems. HTTPie is a simple command-line tool for making HTTP requests.
Requirements
None.
Role Variables
Here are the available variables you can use (found in defaults/main.yml
):
Variables List:
httpie_app: httpie
httpie_desired_state: present
Variables Table:
Variable | Description |
---|---|
httpie_app | The application to install, which is httpie. |
httpie_desired_state | Determines whether to install (use present or latest ) or uninstall (use absent ) the package. Defaults to present . |
Dependencies
None.
Example Playbook
To install the httpie package using Ansible playbooks with default settings:
- hosts: servers
roles:
- darkwizard242.httpie
To install the latest version of the httpie package:
- hosts: servers
roles:
- darkwizard242.httpie
vars:
httpie_desired_state: latest
To uninstall the httpie package:
- hosts: servers
roles:
- darkwizard242.httpie
vars:
httpie_desired_state: absent
License
Author Information
This role was created by Ali Muhammad.
Informazioni sul progetto
Role for dynamically installing or uninstalling 'httpie', a great http client.
Installa
ansible-galaxy install darkwizard242.httpie
Licenza
mit
Download
4.5k
Proprietario
Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!