Commit Graph

8409 Commits (59d5892fa38b4f762621dacf6052aa3331e714a4)
 

Author SHA1 Message Date
Brian Coca 59d5892fa3 added new play_hosts var
this variable has the 'current host list' to be executed over in the
play. Useful when using --limit to not iterate over hosts not included
in play in templates or with_items.

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Michael DeHaan ea138cc1fb Merge pull request #5717 from nanobeep/devel
Minor documentation fixes.
11 years ago
James Cammarata fc30467593 Adding an "Example Playbook" section to the README template for ansible-galaxy
Fixes 5397
11 years ago
James Cammarata 593098108e Adding suggested licenses to the ansible-galaxy meta template 11 years ago
James Tanner 17f0c9e477 Refactor ec2_elb_lb to use shared module snippet code 11 years ago
James Tanner 512c02b7d2 Fix missing description key 11 years ago
James Tanner 53b7a495ca Merge branch 'add_ec2_elb_lb_module' of git://github.com/jsdalton/ansible into jsdalton-add_ec2_elb_lb_module 11 years ago
Michael DeHaan 00b3f627eb Overwrite docs CSS in layout. 11 years ago
Michael DeHaan 6a2720259a Tweak background color. 11 years ago
Michael DeHaan d04649fabb Add logo to docsite. 11 years ago
James Tanner 4b80156267 Standardize some parameters in ec2_key 11 years ago
jctanner cbb2a4ce9b Merge pull request #5256 from zbal/ec2_keys
Add ec2_key module.
11 years ago
jctanner 3c455685bc Merge pull request #5603 from willthames/ec2_keypair_not_mandatory
key_name is not required when creating ec2 instances
11 years ago
Michael DeHaan 3d4a3459ca Add favicon, remove graphics no longer referenced. 11 years ago
Michael DeHaan 2fab6a00b1 Ensure graphics show up in docsite. 11 years ago
James Tanner b11d62270f Revert "Merge pull request #5496 from angstwad/cf-module"
This reverts commit a807e3b9c8, reversing
changes made to df8ecdeded.
11 years ago
James Tanner c3408f205e Revert "Merge pull request #5540 from angstwad/cf-container-module"
This reverts commit bedc616f74, reversing
changes made to a807e3b9c8.
11 years ago
James Tanner bec35cc0c1 Revert "Fix docstrings in rax_files_objects"
This reverts commit e759832dd6.
11 years ago
James Tanner e759832dd6 Fix docstrings in rax_files_objects 11 years ago
jctanner bedc616f74 Merge pull request #5540 from angstwad/cf-container-module
Add module support for Rackspace Cloud Files Containers
11 years ago
jctanner a807e3b9c8 Merge pull request #5496 from angstwad/cf-module
Module support for Rackspace Cloud Files
11 years ago
jctanner df8ecdeded Merge pull request #5210 from sivel/rax-dns-record
rax_dns_record: Add rax_dns_record module
11 years ago
jctanner b2d594d24e Merge pull request #5724 from angstwad/su-tasks-fix
Fix bug where playbook tasks do not escalate privs with 'su'
11 years ago
jctanner 339ab7b077 Merge pull request #5208 from sivel/rax-dns
Add rax_dns module
11 years ago
jctanner 19e8742005 Merge pull request #5713 from angstwad/su-fix
Disallow su and sudo params in same play/task
11 years ago
James Tanner 86ba8f4dff Fix git module parameters to conform to code standards 11 years ago
James Tanner 9e52d5a550 Update changelog with new git module information 11 years ago
James Tanner 18050d50ec Fixes #4108 Add sshopts and keyfile parameters to the git module 11 years ago
James Cammarata f2b2354332 Merge pull request #5727 from jimi-c/yum_transaction_check
Adding a check for pending tranasctions to the yum module
11 years ago
James Cammarata 1ca6e4bbb1 Adding a check for pending tranasctions to the yum module
Fixes #4649
11 years ago
Paul Durivage e875089eba Fix bug where self.su was being set by the sudo param in play tasks 11 years ago
Paul Durivage 01d1bd61e7 Disallow su and sudo params in same play/task 11 years ago
James Cammarata ff8eb5f454 Merge pull request #5722 from jeromew/pipelining_default
Bug in constants.py, ANSIBLE_SSH_PIPELINING should be coerced to boolean
11 years ago
jctanner 293d9b490e Merge pull request #5723 from jeromew/ssh_chmod_bug
Bug: chmod should be called only if the tmp dir was created in the first...
11 years ago
jeromew ef69d23715 Bug: chmod should be called only if the tmp dir was created in the first place 11 years ago
jeromew 3f23483022 Bug in constants.py, ANSIBLE_SSH_PIPELINING should be coerced to boolean 11 years ago
Matt Jaynes f3e416f065 Minor documentation fixes.
Fixed double-dash literals. Fixed broken :doc: links. Minor case fixes. Minor wording fixes.
11 years ago
James Tanner 61d283e2ad Fix merge conflicts from #5519 11 years ago
jctanner da136dbe7c Merge pull request #5694 from angstwad/add-su-support-revert
Add su support
11 years ago
jctanner 07b6d6ffd6 Merge pull request #5690 from sivel/rax-regex-fix
rax module: Fix regex match
11 years ago
jctanner 5e886b8ca6 Merge pull request #5699 from jpmens/un1
module unarchive: documentation typos
11 years ago
jctanner 62d96620e1 Merge pull request #5704 from zimbatm/default-grove-service
notify/grove: set the service to "ansible" by default
11 years ago
jctanner a6ab00b918 Merge pull request #5705 from resmo/fix/doc_do
digital_ocean: added requirements in DOCUMENTATION
11 years ago
jctanner 13f5ec3698 Merge pull request #5697 from kormoc/fix_missing_localhost_group
Fix an issue where ansbile-pull fails with AttributeError
11 years ago
Rene Moser a412eae9cd digital_ocean: added requirements in DOCUMENTATION 11 years ago
zimbatm fe4d203b9a notify/grove: set the service to "ansible" by default 11 years ago
Jan-Piet Mens d0912b84ef documentation typos 11 years ago
Rob Smith 761fe8cc04 Fix an issue where git-pull fails with AttributeError
As part of 94f3b9bfab the code was changed to support dynamically adding localhost to the inventory. This change introduced an crash when run via ansible-pull

```
Starting ansible-pull at 2014-01-20 23:09:57
Traceback (most recent call last):
  File "/tmp/ansible/bin/ansible", line 157, in <module>
    (runner, results) = cli.run(options, args)
  File "/tmp/ansible/bin/ansible", line 82, in run
    hosts = inventory_manager.list_hosts(pattern)
  File "/tmp/ansible/lib/ansible/inventory/__init__.py", line 372, in list_hosts
    result = [ h.name for h in self.get_hosts(pattern) ]
  File "/tmp/ansible/lib/ansible/inventory/__init__.py", line 136, in get_hosts
    subset = self._get_hosts(self._subset)
  File "/tmp/ansible/lib/ansible/inventory/__init__.py", line 177, in _get_hosts
    that = self.__get_hosts(p)
  File "/tmp/ansible/lib/ansible/inventory/__init__.py", line 198, in __get_hosts
    hpat = self._hosts_in_unenumerated_pattern(name)
  File "/tmp/ansible/lib/ansible/inventory/__init__.py", line 275, in _hosts_in_unenumerated_pattern
    ungrouped.add_host(new_host)
AttributeError: 'NoneType' object has no attribute 'add_host'
```

The root cause is there is no group for the host to be added to. I fixed this case by creating the ungrouped group when it doesn't exist and then adding the host to the newly added group. This fixes the regression for me.
11 years ago
jctanner 4b9127f0af Merge pull request #5695 from kormoc/fix_git_check_hostkey_2
Fix case where there is a ~/.ssh/known_hosts file and the host key is only in /etc/ssh/ssh_known_hosts
11 years ago
Rob Smith 953dc6b345 When not finding a host in ~/.ssh/known_hosts, the return value is 0 if the host just is not found. We then never check the system host file in /etc. This fixes the code to check /etc on any failure, not just a bad return code. 11 years ago