File tree Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
- Copyright (c) 2018 redirection.io
1
+ Copyright (c) 2018-2019 redirection.io
2
2
3
3
Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ redirection.io is a Web traffic redirection manager. It provides a collection of
5
5
This role installs the [ redirection.io] ( https://redirection.io/ ) nginx module. It supports Debian and RHEL-based Linux distributions.
6
6
7
7
Once installed, the [ redirection.io] ( https://redirection.io/ ) nginx module might be used in nginx Virtualhosts, as
8
- described [ in the related documentation] ( https://redirection.io/documentation/developer-documentation/nginx-module ) .
8
+ described [ in the related documentation] ( https://redirection.io/documentation/developer-documentation/nginx-module#configuration ) .
9
9
10
10
## Installation
11
11
Original file line number Diff line number Diff line change
1
+ ---
2
+
3
+ redirectionio_packages_url : https://packages.redirection.io/
4
+ redirectionio_gpg_key_url : " {{ redirectionio_packages_url }}gpg.key"
Original file line number Diff line number Diff line change 7
7
8
8
- name : import redirection.io apt key
9
9
apt_key :
10
- keyserver : keyserver.ubuntu.com
11
- id : 24765BBD8E16EB44
10
+ url : " {{ redirectionio_gpg_key_url }}"
12
11
state : present
13
12
14
13
- name : Install redirection.io repository
15
14
apt_repository :
16
- repo : " deb https://packages.redirection.io/ deb {{ ansible_distribution_release }} main"
15
+ repo : " deb {{ redirectionio_packages_url }} deb {{ ansible_distribution_release }} main"
17
16
state : present
18
17
19
18
- name : Update apt cache
Original file line number Diff line number Diff line change 3
3
- name : Add rpm repository key
4
4
rpm_key :
5
5
state : present
6
- key : http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x24765BBD8E16EB44
6
+ key : " {{ redirectionio_gpg_key_url }} "
7
7
8
8
- name : Define distribution_repository_name
9
9
set_fact :
19
19
yum_repository :
20
20
name : redirectionio
21
21
description : redirection.io
22
- baseurl : " https://packages.redirection.io/ rpm/{{ distribution_repository_name }}_{{ ansible_distribution_major_version }}"
22
+ baseurl : " {{ redirectionio_packages_url }} rpm/{{ distribution_repository_name }}_{{ ansible_distribution_major_version }}"
23
23
enabled : yes
24
24
gpgcheck : yes
25
25
state : present
You can’t perform that action at this time.
0 commit comments