- 21 Jan, 2014 20 commits
-
-
Template ansible_sudo_pass the same way we template ansible_ssh_pass.
Thomas Omans committed -
James Tanner committed
-
Add su support
jctanner committed -
rax module: Fix regex match
jctanner committed -
module unarchive: documentation typos
jctanner committed -
notify/grove: set the service to "ansible" by default
jctanner committed -
digital_ocean: added requirements in DOCUMENTATION
jctanner committed -
Fix an issue where ansbile-pull fails with AttributeError
jctanner committed -
Rene Moser committed
-
zimbatm committed
-
Jan-Piet Mens committed
-
As part of 94f3b9bf 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.
Rob Smith committed -
Fix case where there is a ~/.ssh/known_hosts file and the host key is only in /etc/ssh/ssh_known_hosts
jctanner committed -
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.
Rob Smith committed -
This reverts commit c17d0e03. Conflicts: lib/ansible/runner/connection_plugins/paramiko_ssh.py
Paul Durivage committed -
Paul Durivage committed
-
This reduces the number of times inventory.list_hosts is called, which can be costly. When coming from a playbook that data is already known.
Jesse Keating committed -
Operate on that play attribute to make things faster for larger inventories. Instead of making a round trip through inventory.list_hosts and working through some lengthy list comprehensions over and over again, calculate the potenital hosts for a play once, then reduce from it the unavailable hosts when necessary. Also moves how the %fail is done. The host count is a play level count of available hosts, which then is compared after each task to the current number of available hosts for the play. This used to get a new count every task which was also time expensive.
Jesse Keating committed -
Michael DeHaan committed
-
Michael DeHaan committed
-
- 20 Jan, 2014 13 commits
-
-
James Tanner committed
-
Fix regex match, the printf match should work with 0 or more numeric padding characters, not 1 or more
Matt Martz committed -
This reverts commit 6f4bfa2c, reversing changes made to c91ba3a7.
James Tanner committed -
Proposing fix for Issue #4324; adding support for su
jctanner committed -
Mark stat module as supporting check_mode
Michael DeHaan committed -
Paul Durivage committed
-
Paul Durivage committed
-
Paul Durivage committed
-
Enable su support in paramkio; disable su support in fireball, local, accelerate, chroot, jail, funcd connection plugins
Paul Durivage committed -
Paul Durivage committed
-
Fixes for ssh_alt support, adding in references to in_data where appropriate
Paul Durivage committed -
yum module: Attempt #2 to cause yum to fail on invalid url
jctanner committed -
Correctly compare values returned by 'sysctl -e -n'
jctanner committed
-
- 19 Jan, 2014 2 commits
-
-
Michael DeHaan committed
-
update default EC2 exclude regions -- this should be the best configuration for most users, but some may still want to tweak.
Michael DeHaan committed
-
- 18 Jan, 2014 3 commits
-
-
Laurent Defert committed
-
Simon Zimmermann committed
-
Simon Zimmermann committed
-
- 17 Jan, 2014 2 commits
-
-
Make synchronize module work better with local transport, fix #5668
Michael DeHaan committed -
fix str format error due to missing '%' in sysctl module
Michael DeHaan committed
-