forked from newrelic/infrastructure-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstallation-pinned.yml
38 lines (30 loc) · 950 Bytes
/
installation-pinned.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
- name: installation-pinned
hosts: testing_hosts_linux
become: true
gather_facts: yes
pre_tasks:
- name: Initial cleanup
include_role:
name: caos.ansible_roles.infra_agent
vars:
uninstall: true
tasks:
- name: Installation tests suite
vars:
target_agent_version: "1.47.0" # minimum version for sles 15.5
block:
- name: install agent
include_role:
name: caos.ansible_roles.infra_agent
vars:
target_version: "{{ target_agent_version }}"
repo_endpoint: "http://nr-downloads-ohai-staging.s3-website-us-east-1.amazonaws.com/infrastructure_agent"
- name: Assert version
include_role:
name: caos.ansible_roles.assert_version
vars:
target_versions:
- exec: "/usr/bin/newrelic-infra --version"
version: "{{ target_agent_version }}"
...