Skip to content
Snippets Groups Projects
Commit d709e32c authored by Amir Forsat's avatar Amir Forsat
Browse files

Install latest version from Artifactory

JIRA INFRA-5504 #action In Progress
parent d94c45a6
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( ...@@ -9,7 +9,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
def test_tinyproxy_is_installed(host): def test_tinyproxy_is_installed(host):
tinyproxy = host.package("tinyproxy") tinyproxy = host.package("tinyproxy")
assert tinyproxy.is_installed assert tinyproxy.is_installed
assert tinyproxy.version.startswith("1.8.3") assert tinyproxy.version.startswith("1.11.1")
def test_tinyproxy_running_and_enabled(host): def test_tinyproxy_running_and_enabled(host):
......
--- ---
- name: Install tinyproxy - name: Install tinyproxy
yum: yum:
name: tinyproxy name: https://artifactory.esss.lu.se/artifactory/rpm-ics/centos/7/x86_64/tinyproxy-1.11.1-0.x86_64.rpm
state: present state: present
- name: Create directory for PID file
file:
path: /run/tinyproxy
state: directory
owner: tinyproxy
group: tinyproxy
mode: '0755'
- name: Copy error html files - name: Copy error html files
template: template:
src: "{{ item }}" src: "{{ item }}"
......
...@@ -47,7 +47,7 @@ FilterDefaultDeny {{ tinyproxy_filtering.default_deny }} ...@@ -47,7 +47,7 @@ FilterDefaultDeny {{ tinyproxy_filtering.default_deny }}
{% if tinyproxy_upstream %} {% if tinyproxy_upstream %}
{% for proxy in tinyproxy_upstream_proxies %} {% for proxy in tinyproxy_upstream_proxies %}
Upstream {{ proxy.address }}:{{ proxy.port }} {% if proxy.url is defined %} "{{ proxy.url }}" {% endif %} Upstream http {{ proxy.address }}:{{ proxy.port }} {% if proxy.url is defined %} "{{ proxy.url }}" {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment