diff --git a/tests/Dockerfile.centos-6 b/tests/Dockerfile.centos-6 index 4a4e7b8..2a09cbf 100644 --- a/tests/Dockerfile.centos-6 +++ b/tests/Dockerfile.centos-6 @@ -3,8 +3,10 @@ FROM centos:6 # Install Ansible RUN yum -y update; yum clean all; RUN yum -y install epel-release -RUN yum -y install git ansible sudo +RUN yum -y install git gcc python-setuptools sudo RUN yum clean all +RUN easy_install pip +RUN pip install 'requests[security]' ansible # Disable requiretty RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers diff --git a/tests/Dockerfile.centos-7 b/tests/Dockerfile.centos-7 index 8aa0654..e407446 100644 --- a/tests/Dockerfile.centos-7 +++ b/tests/Dockerfile.centos-7 @@ -13,9 +13,10 @@ rm -f /lib/systemd/system/basic.target.wants/*; \ rm -f /lib/systemd/system/anaconda.target.wants/*; # Install Ansible -RUN yum -y install epel-release -RUN yum -y install git ansible sudo +RUN yum -y install git python-setuptools gcc sudo RUN yum clean all +RUN easy_install pip +RUN pip install ansible # Disable requiretty RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers