Commit graph

1140 commits

Author SHA1 Message Date
Olaf Kilian
66964f660a Set no_log for password argument 2015-11-20 20:25:50 +01:00
Olaf Kilian
98b21ee7f3 Improve registry key parity between clients
* Don't extract hostname part from docker_url since this leads to
  docker CLI client not recognizing Docker Hub credentials set by
  docker_login module anymore (looks for the full URL as a key).
2015-10-28 10:14:54 +01:00
Olaf Kilian
988be3458d Rework change detection 2015-10-28 10:13:35 +01:00
Olaf Kilian
9d39885d18 Adapt to new dockercfg file location and structure 2015-10-28 10:04:55 +01:00
Olaf Kilian
ef64423683 Make module importable for unit tests 2015-10-23 06:34:22 +02:00
Olaf Kilian
c3d15a56cf Set default for email parameter to None 2015-10-23 06:33:10 +02:00
Olaf Kilian
e86131c62f Add requirement for python >= 2.6 2015-10-23 06:29:39 +02:00
Olaf Kilian
85cc47c9e1 Default registry to docker hub 2015-10-23 06:28:28 +02:00
Olaf Kilian
3bcb24e656 Added more meaningful fail messages on Docker API 2015-05-07 09:36:32 +02:00
Olaf Kilian
30fa6e3ea4 Added default email address 2015-05-07 09:35:40 +02:00
Olaf Kilian
3d3efa3614 Removed unused import of sys module 2015-05-07 09:15:04 +02:00
Olaf Kilian
f5e7ce00e7 Extract only the hostname part from self.registry
This is needed for update_dockercfg() to register only the host part
of a specified registry URL in the .dockercfg.
2015-05-06 22:43:28 +02:00
Olaf Kilian
7a2a75f6c0 Remove registry from exit_json because misleading
docker-py is not returning the name of the registry
if already logged in. It can differ from the registry
specified by the user, which was return as registry.
2015-05-06 22:33:31 +02:00
Olaf Kilian
feb20eeadd Update PR based on review from @resmo 2015-05-06 22:28:36 +02:00
Olaf Kilian
772e92eca9 Add docker_login module
- Ansible version of "docker login" CLI command
- Persists Docker registry authentification in .dockercfg (only login once - no need to specify credentials over and over again anymore)
- Works for all other docker-py based modules (docker, docker_images) as well as the Docker CLI client
2015-05-03 17:13:34 +02:00
Toshio Kuratomi
764a0e26b6 doc formatting 2015-04-28 11:12:34 -07:00
Brian Coca
3148aafa17 moved new module to proper subdir
fixed doc issues
minor code adjustments
2015-04-22 10:18:34 -04:00
Brian Coca
038b76d1de Merge pull request #415 from jcpowermac/add_vmware_datacenter_module
New VMware Module to support adding a datacenter
2015-04-22 10:08:25 -04:00
Brian Coca
732f1060e8 Merge pull request #390 from resmo/feature/cs_vmsnapshot
cloudstack: add new module cs_vmsnapshot
2015-04-21 14:49:16 -04:00
Brian Coca
3073449996 Merge pull request #375 from resmo/feature/cloudstack_ag
cloudstack: add new module cs_affinitygroup
2015-04-21 14:37:21 -04:00
Brian Coca
02242f5fca Merge pull request #374 from resmo/feature/cloudstack_sg_rule
cloudstack: add new module cs_securitygroup_rule
2015-04-21 14:33:45 -04:00
Brian Coca
82bdf562d2 Merge pull request #361 from resmo/feature/cloudstack_sg
cloudstack: add new module cs_securitygroup
2015-04-21 14:20:13 -04:00
Joseph Callen
7458cdd722 New VMware Module to support adding a datacenter 2015-04-21 10:38:40 -04:00
Rene Moser
c899e2d9a7 cloudstack: add new module cs_vmsnapshot
This module depends on ansible.module_utils.cloudstack.
2015-04-12 23:11:23 +02:00
Rene Moser
39d30168a5 cloudstack: rename modules to more meaningful name schema 2015-04-12 12:59:03 +02:00
Rene Moser
b8056e8f6f cloudstack: add new module cs_securitygroup_rule
This module depends on ansible.module_utils.cloudstack.
2015-04-12 12:50:47 +02:00
Rene Moser
df23b4d17b cloudstack: add new module cs_securitygroup
This module depends on ansible.module_utils.cloudstack.
2015-04-12 12:48:01 +02:00
Rene Moser
e19b53532b cloudstack: add new module cs_affinitygroup
This module depends on ansible.module_utils.cloudstack.
2015-04-12 12:40:12 +02:00
Brian Coca
eb04e45311 fixed doc issues with cloudstack_fw 2015-03-31 09:39:27 -04:00
Brian Coca
ca5d02c3fd Merge pull request #341 from resmo/feature/cloudstack_sshkey
cloudstack: add new module cloudstack_sshkey
2015-03-31 08:53:15 -04:00
Brian Coca
5ef7011c97 Merge pull request #349 from resmo/feature/cloudstack_iso
cloudstack: add new module cloudstack_iso
2015-03-31 08:52:31 -04:00
Brian Coca
ba34dfd364 Merge pull request #348 from resmo/feature/cloudstack_fw
cloudstack: add new module cloudstack_fw
2015-03-31 08:51:33 -04:00
Rene Moser
392feaea63 cloudstack_sshkey: cleanup docs 2015-03-31 13:37:56 +02:00
Rene Moser
c03baa7ec6 cloudstack_ssh: replace ssh public key if fingerprints do not match 2015-03-31 13:37:51 +02:00
Rene Moser
a24d691419 cloudstack_ssh: update description 2015-03-31 13:37:44 +02:00
Rene Moser
bf32de8d8f cloudstack_ssh: register_ssh_key() set public_key as param 2015-03-31 13:37:39 +02:00
Rene Moser
82e25447ad cloudstack_ssh: fix missing projectid if state=absent 2015-03-31 13:37:34 +02:00
Rene Moser
60467738ed cloudstack: add new module cloudstack_sshkey
This module depends on ansible.module_utils.cloudstack.
2015-03-31 13:37:23 +02:00
Rene Moser
9f85ae16ae cloudstack: add new module cloudstack_iso 2015-03-31 13:33:57 +02:00
Rene Moser
58aab881c2 cloudstack: add new module cloudstack_fw 2015-03-31 12:12:19 +02:00
Brian Coca
c5f787e6df Merge pull request #357 from bcoca/lxc_container_home_fix
Lxc container home fix
2015-03-30 22:12:11 -04:00
Brian Coca
ee7fbcf418 minor fix to method of finding home as previous could 'overmatch' 2015-03-30 22:11:17 -04:00
Brian Coca
3151ff1227 Merge pull request #326 from cloudnull/lxc-opts-fix-issues325
Updated lxc_container module to fix option parsing
2015-03-30 22:10:48 -04:00
Brian Coca
231ed6208d removed requirements which was causing crash with dupe from shared doc fragments 2015-03-29 17:05:53 -04:00
Brian Coca
520f410257 moved cloudtrail to amazon subdir 2015-03-26 01:15:34 -04:00
tedder
61114cd08a Handful of changes after bcoca's code review:
* update expected inclusion version
* fix consistency on enabled/absent (now enabled/disabled)
* safely import boto per now style of single-exit and proper JSON
* use new `required_together` module style
2015-03-25 21:49:17 -07:00
tedder
06939a8651 add cloudtrail module
Cloudtrail is the AWS auditing configuration. It's fairly simple, but also very important to configuration management/devops/security to ensure it remains enabled. That's why I created it as a module.
2015-03-25 21:43:24 -07:00
Brian Coca
cf9a243cd7 added missing __init__.py 2015-03-25 17:28:37 -04:00
Kevin Carter
24cfcd2497 Updated lxc_container module to fix option parsing
The option parsing object within the module was performing a split
on an '=' sign and assuming that there would only ever be one '='
in a user provided option. Sadly, the assumption is incorrect and
the list comprehension that is building the options list needs to
be set to split on the first occurrence of an '=' sign in a given
option string. This commit adds the required change to make it
possible for options to contain additional '=' signs and be handled
correctly.
2015-03-18 23:33:33 -05:00
Brian Coca
bb886a595d updated lxc-containter docs to reflect new name 2015-02-27 09:19:51 -05:00