Commit Graph

7937 Commits (94e66cb1080c09eb6e12ca8a1fa21e7f51b1706c)
 

Author SHA1 Message Date
Rob ca517abf07 Set default of dimensions parameter to be empty dict 10 years ago
Andrew Widdersheim e36e1339e8 Fix detached head detection in is_not_a_branch()
Detached head detection seems to have broken somewhere a long the way
because git decided to change how that situation looks when doing a 'git
branch -a' which is performed by get_branches().

This is how git 1.7.1 displays this situation (which works):

shell> git branch -a
* (no branch)
  master

This is the output from git 1.8.3.1 (which does not work):

shell> git branch -a
* (detached from e132711)
  master

It looks like this same wording is used in the most recent version of
git (2.6.1 as of writing this).
10 years ago
Kai Webber d0b30dd86d Added launch group support for ec2 module 10 years ago
gekmihesg cdf0c8a560 Support sysctl on OpenBSD
Fixes #1233
10 years ago
Brian Coca 3a9d046f96 Merge pull request #2206 from fxfitz/win_get_url_ps1_spelling
Fixed spelling mistake: missing
10 years ago
Brian Coca 1479e143b6 Merge pull request #2207 from adrianlzt/fix/doc_os_subnet
Fix yaml syntax
10 years ago
James Cammarata d659c79db7 Adding version file for core modules on devel branch 10 years ago
Andrew Pashkin cee7e928fc Add 'entrypoint' parameter to Docker module 10 years ago
Adrian Lopez 8c7d697c17 Fix yaml syntax 10 years ago
fxfitz 6f3cbd7aa2 Fixed spelling mistake: missing 10 years ago
dagnello 3365dad0d8 Adding os_port Module to openstack ansible modules 10 years ago
James Cammarata a3e7f5cfcc Merge pull request #2062 from wimnat/feature/iam_policy_doc_fix
Update iam_policy.py doc and state default parameter
10 years ago
James Cammarata 02c9a1b336 Merge pull request #2158 from Shrews/os_network
Allow setting external attribute
10 years ago
Brian Coca 144291120e restored quotes to checksum description to avoid breaking docs 10 years ago
Brian Coca d4a03eed10 Merge pull request #2201 from halberom/qfix
ec2_tag - minor doc fix
10 years ago
Gerard Lynch 8b1ee3d6cb minor doc fix 10 years ago
Brian Coca ddf25cf50e Merge pull request #2200 from sirkubax/devel
missing description
10 years ago
JM 7943b3e6b0 description for the get_url module describing checksum verification before file download 10 years ago
Colin Hutchinson f7aa6c4d27 make a text link into a actual hyperlink
the text link doesn't fit on some screen resolutions. Making it into sphinx hyperlink will solve that
10 years ago
Michael Fenn 9b04ca55f1 Support cloning VMs into a specific VM folder
The pysphere VIVirtualMachine.clone() method supports specifying a VM
folder to place the VM in after the clone has completed.  This exposes
that functionality to playbooks.

Also documents that creating VMs could always place VMs in a specific
folder.
10 years ago
Matias De Carli c2520e6b67 keep backwards compatibility 10 years ago
Brian Coca 965cb1f825 Merge pull request #2194 from manics/fix_group_variable
Bugfix Pull Request: Fix incorrect variable in group.py: user -> group
10 years ago
Simon Li d616fd12da Fix incorrect variable in group.py: user -> group 10 years ago
Toshio Kuratomi dbc860daaa Fix docs build 10 years ago
Brian Coca 79ec9efd7b Merge pull request #1048 from emonty/feature/os_router
Add OpenStack Router module
10 years ago
David Shrewsbury aa1e8b8b05 Add author to os_router 10 years ago
David Shrewsbury 08e91ef68f Deprecate older router modules.
The quantum_router_gateway.py and quantum_router_interface.py modules
are deprecated with this change.
10 years ago
Andrew Pashkin e96549c95d Harden matching running containers by "command" in the Docker module
Before this patch:

  - Command was matched if 'Command' field of docker-py
    representation of Docker container ends with 'command' passed
    to Ansible docker module by user.
  - That can give false positives and false negatives.
  - For example:
      a) If 'command' was set up with more than one spaces,
         like 'command=sleep  123', it would be never matched again
         with a container(s) launched by this task.
         Because after launching, command would be normalized and
         appear, in docker-py API call, just as 'sleep 123' - with one
         space. This is false negative case.
      b) If 'entrypoint + command = command', for example
         'sleep + 123 = sleep 123', module would give false positive
         match.

This patch fixes it, by making matching more explicit - against
'Config'->Cmd' field of 'docker inspect' output, provided by docker-py
API and with proper normalization of user input by splitting it to
tokens with 'shlex.split()'.
10 years ago
James Cammarata 79d18981c7 A few bug fixes and tweaks for the accelerate module 10 years ago
Mike 8c9a9c0802 update_disks(): added origins of the code. 10 years ago
Mike Christofilopoulos 83074ad501 add new disks automatically when the 'vm_disk' section changes 10 years ago
Matt Martz 45c5b4bf4b Merge pull request #1002 from vmihailenco/fix/rx-isdir-path
rackspace: pass full path to the isdir.
10 years ago
Brian Coca a15aa09251 removed typo 10 years ago
Brian Coca f6bbd2ac5b removed syslog in favor of common module logging functions 10 years ago
Brian Coca 3e42527fde revert must_exist 10 years ago
Brian Coca da220e0bb0 added version_added 10 years ago
Nathaniel Felsen 8ec17d0fd9 Adding support for access logs in ELB 10 years ago
Brian Coca b9090a8146 Merge pull request #2174 from voidfiles/devel
Fix a argument mismatch in elasticache
10 years ago
Alex Kessinger 4308ae25c4 Fix a argument mismatch in elasticache
I think in this commit 720aeffca2

There was bug introduced where the ElastiCacheManager init method has
a number of positional arguments like so.

```py
    def __init__(self, module, name, engine, cache_engine_version, node_type,
                 num_nodes, cache_port, parameter_group, cache_subnet_group,
                 cache_security_groups, security_group_ids, zone, wait,
                 hard_modify, region, **aws_connect_kwargs):
```

But then later in the code the positional arguments are passed in
like this.

```py
    elasticache_manager = ElastiCacheManager(module, name, engine,
                                             cache_engine_version, node_type,
                                             num_nodes, cache_port,
                                             cache_subnet_group,
                                             cache_security_groups,
                                             security_group_ids, parameter_group, zone, wait,
                                             hard_modify, region, **aws_connect_kwargs)
```

If you count, you can see that cache_subnet_group, is being passed in
where the manager expects to see parameter_group.
10 years ago
Chris Church fbd9c0a375 Merge pull request #2173 from mcalhoun/devel
Powershell throwing 'The variable cannot be retrieved because it has not been set' error
10 years ago
Matt Calhoun 73843693b7 The variable $uppercase_cert_thumbprint cannot be retrieved because it has not been set. 10 years ago
Matt Calhoun 4350188076 The variable $winrm_cert_thumbprint cannot be retrieved because it has not been set. 10 years ago
Matt Calhoun 1d8334674f The variable $https_listener cannot be retrieved because it has not been set. 10 years ago
Matt Calhoun d8f9c81022 The variable $winrm_https_listener_path cannot be retrieved because it has not been set 10 years ago
Brian Coca 653b55bf68 Merge pull request #2160 from j-carl/fix_amazon-cloudformation-userdir
Fix to handle user directory within parameter 'template'.
10 years ago
Jens Carl dc109387bd Change type of parameter 'template' to 'path'. 10 years ago
Shayne Clausson 841835ebac Replaces 'old' get_ec2_creds connection method with get_aws_connection_info to
support passing in security_token for temporary creds.
10 years ago
Toshio Kuratomi a4ac171a07 Merge pull request #2124 from halberom/ec2_adjust_vol_handling
ec2 - allow use of volume_type in volumes dict
10 years ago
Gerard Lynch 1857263b63 allow use of volume_type in volumes dict 10 years ago
Toshio Kuratomi d5f62798f0 Docs fixes 10 years ago