mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-11-10 07:53:29 +01:00
Issue #61: Make CentOS 6 work.
This commit is contained in:
parent
60726db64b
commit
533703d32d
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue