jmal98 / ansiblecm Goto Github PK
View Code? Open in Web Editor NEWA Docker based Ansible control machine for running playbooks in a consistent environment.
License: Apache License 2.0
A Docker based Ansible control machine for running playbooks in a consistent environment.
License: Apache License 2.0
is it possible to add the sshpass dependency?
When trying to use ssh I get
FAILED! => {"msg": "to use the 'ssh' connection type with passwords, you must install the sshpass program"}
Thanks!
Hi there, I'm having an issue with the latest docker image. It supposed to have the latest ansible, but noticed that it has ansible 2.10.7
. Could you double-check it?
docker run -it --env ANSIBLE_HOST_KEY_CHECKING=False --entrypoint ansible -v $PWD:/tmp/playbook:Z jmal98/ansiblecm:3.1.0 --version
ansible 2.10.7
config file = None
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.8/site-packages/ansible
executable location = /usr/bin/ansible
python version = 3.8.8 (default, Mar 15 2021, 13:10:14) [GCC 10.2.1 20201203]
Hi,
I am trying to build the docker image locally and I am getting the following error:
apk del build-dependencies
---> Running in 6ffeab2d70a3
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
krb5-libs-1.15.3-r0:
breaks: world[krb5-libs=1.15.2-r2]
satisfies:
krb5-dev-1.15.3-r0[krb5-libs=1.15.3-r0]
krb5-1.15.3-r0[so:libgssapi_krb5.so.2]
krb5-1.15.3-r0[so:libk5crypto.so.3]
krb5-1.15.3-r0[so:libkadm5clnt_mit.so.11]
krb5-1.15.3-r0[so:libkadm5srv_mit.so.11]
krb5-1.15.3-r0[so:libkdb5.so.8]
krb5-1.15.3-r0[so:libkrb5.so.3]
krb5-1.15.3-r0[so:libkrb5support.so.0]
krb5-server-ldap-1.15.3-r0[so:libgssrpc.so.4]
krb5-server-ldap-1.15.3-r0[so:libkadm5srv_mit.so.11]
krb5-server-ldap-1.15.3-r0[so:libkdb5.so.8]
krb5-server-ldap-1.15.3-r0[so:libkrb5.so.3]
krb5-server-ldap-1.15.3-r0[so:libkrb5support.so.0]
I am not very familiar with constraints. Can you please provide some guidance.
I am using docker for windows 10 in linux mode.
I ran the following command to build the docker image
docker build --tag anciblecm:2.6.2 .
Would it be possible to add the dependencies listed on this page so that this image could control docker containers? Or would it make more sense to create an image using this as the base that has these dependencies?
Hi, I was looking for a docker image with all the needed software to run an ansible CM and I found yours. But I noticed that I couldn't log in to the container directly (via bash: $ docker run -it jmal98/ansiblecm bash
) only execute commands/playbooks directly.
Is there a way to access the container via bash and do whatever I need (like changing the inventory, install modules, add playbooks, etc.) ?
Thanks in advance.
Not really an issue, but I was wondering if you would be able to create a similar dockerfile where ansible is configured to connect to windows machines. This is one article that explains it (also it is documented by ansible itself).
http://www.tomsitpro.com/articles/how-to-use-ansible-on-windows,1-3479.html
Hi there! I love this docker-file. But I recently tried to use mounted ssh-keys with WSL - and exactly the correct permissions is required for the key to work. So I would be very glad if this trick from below could be included somehow
(I tried to do it myself, but didn't understand how you could run multiple entrypoints?)
https://nickjanetakis.com/blog/docker-tip-56-volume-mounting-ssh-keys-into-a-docker-container
hitting this error when trying to use this image to a Windows Server 2016 box with the following ciphers enabled:
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
TLS_DHE_RSA_WITH_AES_256_CBC_SHA
TLS_DHE_RSA_WITH_AES_128_CBC_SHA
TLS_RSA_WITH_AES_256_GCM_SHA384
TLS_RSA_WITH_AES_128_GCM_SHA256
TLS_RSA_WITH_AES_256_CBC_SHA256
TLS_RSA_WITH_AES_128_CBC_SHA256
TLS_RSA_WITH_AES_256_CBC_SHA
TLS_RSA_WITH_AES_128_CBC_SHA
TLS_RSA_WITH_3DES_EDE_CBC_SHA
TLS_DHE_DSS_WITH_AES_256_CBC_SHA256
TLS_DHE_DSS_WITH_AES_128_CBC_SHA256
TLS_DHE_DSS_WITH_AES_256_CBC_SHA
TLS_DHE_DSS_WITH_AES_128_CBC_SHA
TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA
TLS_RSA_WITH_RC4_128_SHA
TLS_RSA_WITH_RC4_128_MD5
TLS_RSA_WITH_NULL_SHA256
TLS_RSA_WITH_NULL_SHA
TLS_PSK_WITH_AES_256_GCM_SHA384
TLS_PSK_WITH_AES_128_GCM_SHA256
TLS_PSK_WITH_AES_256_CBC_SHA384
TLS_PSK_WITH_AES_128_CBC_SHA256
TLS_PSK_WITH_NULL_SHA384
TLS_PSK_WITH_NULL_SHA256
Max retries exceeded with url: /wsman (Caused by SSLError(SSLEOFError(8, u'EOF occurred in violation of protocol (_ssl.c:661)'),))
I'm guessing I don't have one enabled that is compatible with the python dependencies on this image?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.