Skip to content

Commit 9424aab

Browse files
authored
lint role
1 parent b3e50d4 commit 9424aab

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Diff for: meta/main.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
galaxy_info:
33
role_name: 'nginx_module'
44
author: 'redirection.io'
5+
company: "redirection.io"
56
description: Install libnginx-mod-redirectionio
67
license: MIT
78
min_ansible_version: 1.6

Diff for: tasks/pkg-debian.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
- name: Install libnginx-mod-redirectionio
2424
apt:
2525
name: libnginx-mod-redirectionio
26-
state: latest
26+
state: present

Diff for: tasks/pkg-redhat.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
state: present
66
key: http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x24765BBD8E16EB44
77

8-
- set_fact:
8+
- name: Define distribution_repository_name
9+
set_fact:
910
distribution_repository_name: centos
1011
when: ansible_distribution != 'Fedora'
1112

12-
- set_fact:
13+
- name: Define distribution_repository_name when the distribution is Fedora
14+
set_fact:
1315
distribution_repository_name: fedora
1416
when: ansible_distribution == 'Fedora'
1517

@@ -29,4 +31,4 @@
2931
- name: Install libnginx-mod-redirectionio
3032
yum:
3133
name: libnginx-mod-redirectionio
32-
state: latest
34+
state: present

0 commit comments

Comments
 (0)