-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Dockerfile to create a container with the IM service | ||
FROM ubuntu:14.04.2 | ||
MAINTAINER Miguel Caballer <[email protected]> | ||
LABEL version="1.3.0" | ||
LABEL description="Container image to run the IM service. (http://www.grycap.upv.es/im)" | ||
EXPOSE 8899 | ||
RUN apt-get update && apt-get install -y gcc python-dev python-pip python-soappy openssh-client sshpass | ||
RUN pip install IM | ||
RUN pip uninstall -y SOAPpy | ||
COPY ansible.cfg /etc/ansible/ansible.cfg | ||
CMD im_service.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[defaults] | ||
transport = smart | ||
host_key_checking = False | ||
sudo_user = root | ||
sudo_exe = sudo | ||
|
||
[paramiko_connection] | ||
|
||
record_host_keys=False | ||
|
||
[ssh_connection] | ||
|
||
# Only in systems with OpenSSH support to ControlPersist | ||
ssh_args = -o ControlMaster=auto -o ControlPersist=900s | ||
# In systems with older versions of OpenSSH (RHEL 6, CentOS 6, SLES 10 or SLES 11) | ||
#ssh_args = | ||
pipelining = True |