redirection.io is a Web traffic redirection manager. It provides a collection of tools for website administrators, SEO agencies and developers, which help analyze HTTP errors, setup HTTP redirections and monitor the traffic efficiently.
This role installs the redirection.io agent. It supports Debian and RHEL-based Linux distributions.
Simply run the following command:
ansible-galaxy install redirectionio.agent
redirectionio_agent_instance_name
: the name of this instance, in order to track it in the web interface
You may also configure:
redirectionio_agent_enabled
(default:true
): shall redirection.io be enabled after the playbook is run?redirectionio_user
(defaultredirectionio
): user running the agentredirectionio_group
(defaultredirectionio
): group of the user running the agentredirectionio_agent_listen
(default127.0.0.1:10301
): interface listening. Use/var/run/redirectionio.sock
or127.0.0.1:10301
redirectionio_agent_persist
(defaulttrue
): whether or not to store rules on the diskredirectionio_agent_datadir
(default/var/lib/redirectionio
): where to store persisted rulesredirectionio_agent_cache
(default:true
): use in-memory cache to speed-up agent matchingredirectionio_agent_log
(default:{}
): log configuration directives - see the configuration template for more details.redirectionio_agent_proxies
(default:{}
) - see the configuration reference for more details.redirectionio_agent_project_keys
(default:[]
) - see the configuration reference for more details.redirectionio_agent_logging
(default:-
) - see the configuration reference for more details.redirectionio_agent_instance_test_mode
(default:-
) - see the configuration reference for more details.redirectionio_agent_metrics_server
(default:[]
) - see the configuration reference for more details.
- hosts: webservers
roles:
- { role: redirectionio.agent, become: true }
vars:
redirectionio_agent_instance_name: 'The magical frontend #1'
This role has no dependency.
The role can be tested using the test instructions.
This role is available under the terms of the MIT License.