Skip to content

Commit 3acff5d

Browse files
committed
Debug packer build
1 parent 3a166d8 commit 3acff5d

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

ansible/bakery.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
hosts: 127.0.0.1
99
connection: local
1010
become: yes
11-
roles:
11+
roles:
1212
- cloudwatch-agent
1313

1414
- name: Install New Relic Infrastructure
1515
hosts: 127.0.0.1
1616
connection: local
1717
become: yes
18-
roles:
18+
roles:
1919
- newrelic.newrelic-infra
2020
vars:
2121
nrinfragent_os_name: CentOS

ansible/requirements.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Install roles from Ansible Galaxy
22

33
# CIS hardening
4-
- src: MindPointGroup.RHEL7-CIS
4+
- src: mindpointgroup.rhel7_cis
55

66
# NGINX web server
77
- src: nginxinc.nginx
8+
version: 0.14.0
89

910
# AWS CodeDeploy agent
1011
# The original version of this role in Ansible Galaxy
@@ -17,4 +18,3 @@
1718

1819
# New Relic Infrastructure
1920
- src: newrelic.newrelic-infra
20-

bin/ansible.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# Run ansible
2+
# Run ansible
33
#
44
# Set bash unofficial strict mode http://redsymbol.net/articles/unofficial-bash-strict-mode/
55
set -euo pipefail
@@ -20,5 +20,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2020

2121
ensure_not_root
2222

23+
sudo yum -y install yum-utils pcre2
24+
2325
cd "$DIR/../ansible"
2426
ansible-playbook -l localhost "$@"

bin/install-ansible.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1616
#shellcheck disable=SC1090
1717
. "$DIR/common.sh"
1818

19+
ls -al /etc/yum.repos.d
20+
1921
ensure_not_root
2022

2123
quick_yum_install epel-release

0 commit comments

Comments
 (0)