File tree 4 files changed +9
-5
lines changed 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 8
8
hosts : 127.0.0.1
9
9
connection : local
10
10
become : yes
11
- roles :
11
+ roles :
12
12
- cloudwatch-agent
13
13
14
14
- name : Install New Relic Infrastructure
15
15
hosts : 127.0.0.1
16
16
connection : local
17
17
become : yes
18
- roles :
18
+ roles :
19
19
- newrelic.newrelic-infra
20
20
vars :
21
21
nrinfragent_os_name : CentOS
Original file line number Diff line number Diff line change 1
1
# Install roles from Ansible Galaxy
2
2
3
3
# CIS hardening
4
- - src : MindPointGroup.RHEL7-CIS
4
+ - src : mindpointgroup.rhel7_cis
5
5
6
6
# NGINX web server
7
7
- src : nginxinc.nginx
8
+ version : 0.14.0
8
9
9
10
# AWS CodeDeploy agent
10
11
# The original version of this role in Ansible Galaxy
17
18
18
19
# New Relic Infrastructure
19
20
- src : newrelic.newrelic-infra
20
-
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- # Run ansible
2
+ # Run ansible
3
3
#
4
4
# Set bash unofficial strict mode http://redsymbol.net/articles/unofficial-bash-strict-mode/
5
5
set -euo pipefail
@@ -20,5 +20,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
20
20
21
21
ensure_not_root
22
22
23
+ sudo yum -y install yum-utils pcre2
24
+
23
25
cd " $DIR /../ansible"
24
26
ansible-playbook -l localhost " $@ "
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
16
16
# shellcheck disable=SC1090
17
17
. " $DIR /common.sh"
18
18
19
+ ls -al /etc/yum.repos.d
20
+
19
21
ensure_not_root
20
22
21
23
quick_yum_install epel-release
You can’t perform that action at this time.
0 commit comments