Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 1693e4e

Browse files
committed
Update to latest Varnish role version for CentOS 6 fix.
1 parent 4623515 commit 1693e4e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

provisioning/requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@
7676
- src: geerlingguy.solr
7777
version: 3.5.1
7878
- src: geerlingguy.varnish
79-
version: 1.8.3
79+
version: 1.8.4

provisioning/roles/geerlingguy.varnish/tasks/setup-RedHat.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@
1313
state: present
1414
when: ansible_distribution_major_version|int < 7
1515

16+
- name: Set a string for the varnish repository identifier.
17+
set_fact:
18+
varnish_yum_repo: "varnish-{{ varnish_version }},epel"
19+
1620
- name: Set repo fact appropriately.
1721
set_fact:
18-
varnish_yum_enablerepo: "{{ 'varnish-{{ varnish_version }},epel' if (ansible_distribution_major_version|int < 7) else 'epel' }}"
22+
varnish_yum_enablerepo: "{{ varnish_yum_repo if (ansible_distribution_major_version|int < 7) else 'epel' }}"
1923

2024
- name: Install Varnish.
2125
yum:

0 commit comments

Comments
 (0)