From fff090a3252afa1e998f737262ed15f2ad5e463f Mon Sep 17 00:00:00 2001 From: Nuno Leitao Date: Fri, 1 Sep 2017 10:48:41 +0100 Subject: [PATCH 1/2] Added: AWS Red Rat based distro to vars --- vars/Amazon-NA.yml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 vars/Amazon-NA.yml diff --git a/vars/Amazon-NA.yml b/vars/Amazon-NA.yml new file mode 100644 index 0000000..4c2c4dc --- /dev/null +++ b/vars/Amazon-NA.yml @@ -0,0 +1,4 @@ +--- +apache_service: httpd +apache_user: apache +with_httpd_conf: /etc/httpd/conf.d From 4de31036d9c3bfab3aae1686fe5afe6c8d734fbf Mon Sep 17 00:00:00 2001 From: Nuno Leitao Date: Fri, 1 Sep 2017 10:49:35 +0100 Subject: [PATCH 2/2] Changed yum install package to meet AWS requirements --- tasks/setup-RedHat-family-prerequisites.yml | 31 ++++++++++++--------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/tasks/setup-RedHat-family-prerequisites.yml b/tasks/setup-RedHat-family-prerequisites.yml index 9490fdb..8e9e302 100644 --- a/tasks/setup-RedHat-family-prerequisites.yml +++ b/tasks/setup-RedHat-family-prerequisites.yml @@ -21,19 +21,24 @@ - libselinux-python - name: Install Nagios prerequisites for CentOS - yum: pkg={{ item }} state=present - with_items: - - gcc - - glibc - - glibc-common - - gd - - gd-devel - - make - - perl - - perl-devel - - wget - - python-passlib - - unzip + yum: + name: "@Development tools" + state: present + +# - name: Install Nagios prerequisites for CentOS +# yum: pkg={{ item }} state=present +# with_items: +# - gcc +# - glibc +# - glibc-common +# - gd +# - gd-devel +# - make +# - perl +# - perl-devel +# - wget +# - python-passlib +# - unzip - name: Install plugin prerequisites for CentOS yum: pkg={{ item }} state=present