Commit Graph

5697 Commits (9d0d54b9a60befa9671e64545c99bf817adaa910)
 

Author SHA1 Message Date
Toshio Kuratomi 9d0d54b9a6 Merge pull request #926 from ansible/docker-tls-alt-854
Alternative implementation of tls for docker
10 years ago
Toshio Kuratomi 3a6cc86578 Fix for problems found by @dguerri
* TLSConfig['verify'] has to be set to False if we're only encrypting the
  connection, not verifying the host.
* tls_hostname was not set if tls_ca_cert was not present

https://github.com/ansible/ansible-modules-core/pull/926#issuecomment-78573877
10 years ago
Toshio Kuratomi 1add8ed9e5 Implement comments from @smashwilson:
* if tls_ca_cert is set then use tls to verify the server
* take tls_hostname from the environment variable DOCKER_TLS_HOSTNAME
  if it's not specified in the playbook

https://github.com/ansible/ansible-modules-core/pull/926#issuecomment-78542210
10 years ago
Brian Coca dfb58517fa Merge pull request #925 from InAnimaTe/patch-1
Setting the actual passno and dump defaults, and warning user of consequ...
10 years ago
Toshio Kuratomi 54fd95288e Merge pull request #927 from bobrik/fix-undefined-e
[docker] fixed: global name 'e' is not defined
10 years ago
Ian Babrou 763f472f5b fixed: global name 'e' is not defined 10 years ago
Toshio Kuratomi 3e0cbc82f1 Alternative implementation of tls for docker
Alternative to #854
10 years ago
Toshio Kuratomi 31cc5f543f Fix for py2.6 (no dict comprehensions on py2.6) 10 years ago
Toshio Kuratomi 8ed415589a Initialize the value of vpc_id variable 10 years ago
Mario Loria 30be06c971 Setting the actual passno and dump defaults, and warning user of consequences in nulling
Using ansible 1.8.4, I found that these two options actually work slightly different than advertised.
10 years ago
Brian Coca 07d5b50e2c Merge pull request #903 from h3biomed/allow_default_subnet
Allow vpc_subnet_id to remain unspecified (see bc0c169)
10 years ago
Brian Coca df835f8be9 Merge pull request #924 from hkariti/route53_public_zones
Fix KeyError in public zones in route53
10 years ago
Toshio Kuratomi 974075277d Also don't fail if files are different and overwrite is false for uploads (this mimics copy and template).
Related to #489
10 years ago
Hagai Kariti d65f9aa3af Fix KeyError in public zones in route53 10 years ago
Toshio Kuratomi ca32205c7b Documentation style changes 10 years ago
Toshio Kuratomi 47c6dae9f3 Merge pull request #490 from pgehres/devel
Issue #489: s3 should not fail on checksum mismtach when overwrite=no
10 years ago
Brian Coca cf8098788c Merge pull request #922 from jbowes/fix-files-state-formatting
Fix C() formatting typo in file module
10 years ago
James Bowes 1e36b6b7f6 Fix C() formatting typo in file module 10 years ago
Matt Martz edbb95303d Merge pull request #920 from sivel/empty-error-msg
rax: Prevent an empty error message
10 years ago
Matt Martz a4e65e8e6e Prevent an empty error message 10 years ago
Brian Coca 0b0040a4ae updated to keep same info as in extras repo 10 years ago
Toshio Kuratomi 6b38382e9d Merge pull request #916 from bobrik/less-docker-reloads-in-links-and-env
[docker] Not triggering reload for links and not string env variables
10 years ago
Ian Babrou 9ecfde7551 not triggering reload for links and not string env variables 10 years ago
Toshio Kuratomi e398933210 Merge pull request #912 from smashwilson/image-exposed-things
[docker] Account for configuration performed in the image for state=reloaded
10 years ago
Ash Wilson 0969fd75c8 Use {0}, {1} style format indices for 2.6 compat 10 years ago
Ash Wilson 19664a96db Expect module env vars to override Dockerfile ones. 10 years ago
Ash Wilson 608ddbea29 Include bind mounts in VOLUMES check. 10 years ago
Ash Wilson 2c58eb3845 Exposed ports, env vars, volumes from the image.
This will account for settings that are provided by the hierarchy of
Dockerfiles used to construct your image, rather than only accounting
for settings provided to the module directly.
10 years ago
Ash Wilson 79db475316 Full image inspection and just repo tags
Hat tip to @bobrik.
10 years ago
Brian Coca 1c0623ab8d Merge pull request #890 from SamYaple/docker-pid-support
Add pid mode support to docker module
10 years ago
Toshio Kuratomi bd997b1066 Merge pull request #502 from smashwilson/docker-pull-option
Docker: state reorganization and pull option
10 years ago
Ash Wilson d046425049 Connect to Docker with optional TLS. 10 years ago
Ash Wilson 80aca4b936 Rework docker module states.
Organize each state into a distinct function for readability and composability.
Rework `present` to create but not start containers. Add a `restarted` state
to unconditionally restart a container and a `reloaded` state to restart a
container if and only if its configuration is incorrect. Store our most recent
knowledge about container states in a ContainerSet object. Improve the value
registered by this task to include not only the inspect data from any changed
containers, but also action counters in their native form, a summary message
for all actions taken, and a `reload_reasons` key to store a human-readable
diagnostic to determine why each container was reloaded.
10 years ago
Ash Wilson 7490223940 Pull newer image versions when requested. 10 years ago
Ash Wilson fedbea682e Another documentation commit. 10 years ago
Brian Coca 3da0aa9f08 Merge pull request #7 from Ernest0x/patch-1
synchronize: use a single -F instead of -FF
10 years ago
Bret Martin f16d8d9afb Allow vpc_subnet_id to remain unspecified (see bc0c169) 10 years ago
Sam Yaple e1e74bdf33 Updated version and fixed default 10 years ago
Brian Coca 76702b48f7 Merge pull request #896 from dagwieers/patch-1
Fix a (common) error in the examples.
10 years ago
Dag Wieers 0a91ace6ad Update authorized_key.py
Fix a (common) error in the examples. This is something that may go unnoticed during troubleshooting when copy&pasting the example.
10 years ago
Toshio Kuratomi b0bc6f1379 Merge pull request #888 from ansible/mysql-port
Fix for int port assignment in a playbook failing
10 years ago
Toshio Kuratomi ec6304d5a0 Merge pull request #824 from Jmainguy/mysql_db_616
Now correctly gzip/bzips file back up in case of import failure
10 years ago
Jonathan Mainguy ee8039ef09 Now correctly gzip/bzips file back up in case of import failure
Removed gunzip and bunzip2 dependency
10 years ago
Eric Johnson 640e0fc53c Merge pull request #889 from nabam/gcloud-keep-disk
GCE module: allow to keep instance boot disk after instance deletion
10 years ago
Lev Popov a15cce2d7f Allow to keep instance boot disk after instance deletion in google cloud module 10 years ago
Sam Yaple 74e922449b Add pid mode support to docker module
This allows setting the pid namespace for a container. Currently only
the 'host' pid namespace is supported.

This requires Docker 1.4.1 and docker-py 1.0.0
10 years ago
Eric Johnson bd8cfa2a24 Merge pull request #883 from nabam/gcloud-external-ip
Allow to spawn instances without external ip in google cloud module
10 years ago
Toshio Kuratomi a1135f803d Fix for int port assignment in a playbook failing
Ports are integer values but the old code was assuming they were
strings.  When login_port is put into playbook complex_args as an
integer the code would fail.  This update should make the argument
validating make sure we have an integer and then we can send that value
directly to the relevant APIs.

Fixes #818
10 years ago
Toshio Kuratomi 6515354c81 Merge pull request #886 from ansible/ec2-small-cleanup
Small code cleanup
10 years ago
Toshio Kuratomi 9f38f6e6a2 Small code cleanup 10 years ago