Issue #61: Make CentOS 6 work.

This commit is contained in:
Jeff Geerling 2015-12-13 20:22:55 -06:00
parent 60726db64b
commit 533703d32d

View file

@ -4,8 +4,5 @@ FROM centos:6
RUN rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
RUN yum install -y ansible
# Disable requiretty
RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers
# Install Ansible inventory file
RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts