Skip to content

Commit 09c4ac9

Browse files
committed
Debug packer build
1 parent 3a166d8 commit 09c4ac9

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
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/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

packer/machines/web-server.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"inline": [
5555
"bash /app/bin/install-gauntlt.sh",
5656
"bash /app/bin/install-ansible.sh",
57+
"sudo yum -y install yum-utils pcre2",
5758
"bash /app/bin/ansible.sh bakery.yml scan-openscap.yml scan-gauntlt.yml",
5859
"find / -name '*.html' 2>/dev/null | grep -E 'gauntlt|scan'",
5960
"ls -l /app /app/build"

0 commit comments

Comments
 (0)