Commit Graph

8020 Commits (3e53fbc139e9311e7e18a3e72f12476d8cef1497)
 

Author SHA1 Message Date
Ferenc Grecu b93c23d4c7 Fix typos in configuration documentation 11 years ago
Ferenc Grecu 56642f9b04 Remove unused parameter from _get_config 11 years ago
jctanner 5c5042102f Merge pull request #5254 from j2sol/fix-ssh-missing-quotes
Make sure ssh pipes are empty before moving on
11 years ago
Michael Vogt bef5ee2c3b improve error on invalid vars file (if its a list instead of a dict) 11 years ago
Jesse Keating 8cef210aea Make sure ssh pipes are empty before moving on
Resolves issue #5082

Code as it was would hit a scenario where one of the FDs was not ready for
reading the first time through -- but p.poll() would show the process as
complete. This would cause ansible to continue on, while leaving some content
left in a pipe.

The other scenario -- the one that causes the unclosed quote, is if we go
through select.select() and we do get stdout in the ready for reading -- we
read from it (9000 bytes), but that's not all that is there. Again we'd get to
the p.poll() check and it would be indeed not none, but we would have left some
of stdout on the FD and thus the json blob would be malformed.

Tested with and without full ssh debugging.
Tested with and without ControlPersist
Tested with and without ControlPersist sockets already created
11 years ago
Michael DeHaan 929f8a5c93 Had to revert commits due to async. 11 years ago
Michael DeHaan 74e4ccb59b Revert "ssh_alt.py / decrease # of ssh roundtrips"
This reverts commit 7f8863f96d.
11 years ago
Michael DeHaan f72bb8c7a8 Merge branch 'ansible_ssh_alt' of git://github.com/jeromew/ansible into devel 11 years ago
Michael DeHaan 62b89c7cc3 Merge pull request #5243 from mivor/devel
Fix typo for ANSIBLE_FORCE_COLOR in Changelog
11 years ago
Ferenc Grecu 0c343ad58e Update CHANGELOG.md
Fix typo in ANSIBLE_FORCE_COLOR
11 years ago
jctanner c04b21dc9a Merge pull request #5232 from jsdalton/fix_elb_instance_state_issue
Account for instances that have not yet been registered. Fixes #5076
11 years ago
jeromew 7f8863f96d ssh_alt.py / decrease # of ssh roundtrips 11 years ago
Jim Dalton ac1e84d976 Account for instances that have not yet been registered. Fixes #5076 11 years ago
Michael DeHaan 5cd97e8cf6 Merge pull request #5222 from resmo/fix/apt-update
apt: update index before trying to autoinstall python-apt
11 years ago
Jeffrey Nappi 2b82f7d75f Corrected documentation in ec2_ami module - no_reboot defaults to yes 11 years ago
jeromew db182ba498 copy ssh.py to ssh_alt.py 11 years ago
Matthew Thode c0a7f51671 tests depend on the default encoding being utf8
So we set the utils default encoding to be utf8
11 years ago
jctanner 19d4c1aca8 Merge pull request #5215 from dhml/devel
Fix issue #5214: hostname persistence on RedHat/CentOS
11 years ago
Rene Moser 2d805ae5da apt: update index before trying to autoinstall python-apt 11 years ago
Michael DeHaan 0078b6b2a9 Merge pull request #5217 from mmoya/docfix
Fix link to playbooks loops
11 years ago
Maykel Moya 9018d53a3c Fix link to playbooks loops 11 years ago
Dimos Alevizos 8c73aa13e4 Minor changes to simplify code 11 years ago
David Hummel cc3678730c Fix issue #5214: hostname persistence on RedHat/CentOS 11 years ago
Dimos Alevizos de4e4c54b9 Add get_dmi_facts in setup for FreeBSD systems using dmidecode 11 years ago
Michael DeHaan fa8a02dcda Merge pull request #5212 from tarka/devel
Cast the retrieved `retries` var to an int before incrementing as it may...
11 years ago
Steve Smith 5b81f88c8f Cast the retrieved `retries` var to an int before incrementing as it may be in string form.
For example, the following method of calculating the value will result in a type error:

    appstatus_waitfor: 4  # Minutes
    appstatus_delay: 5 # seconds
    appstatus_retries: "{{ mins * 60 / delay }}"
11 years ago
Matt Martz ead733362f module is not exposed to send_msg, but main() catches exceptions and uses module.fail_json 11 years ago
Matt Martz b48b22b24a Try to follow RFC2812 for waiting on serverl welcome and join messages before performing more tasks 11 years ago
Wanderlei Antonio Cavassin 6ba93817a9 Avoid UnicodeDecodeError exception when passing module args 11 years ago
jctanner 36a305ce9d Merge pull request #5195 from Multifarious/devel
Fix loading from cache in ec2.py inventory plugin.
11 years ago
Lorrin Nelson 663deff2c2 Fix loading from cache in ec2.py inventory plugin. 11 years ago
Michael DeHaan a19ef93cf3 Update README.md
remove author section, references old email address
11 years ago
Michael DeHaan 0fc5771eab Update README.md
Clarify docs readme about wordpress
11 years ago
jctanner 66cf819a68 Merge pull request #5192 from jeromew/ansible_user_removal
user module: force= and remove= should not be mutually exclusive
11 years ago
jeromew 1916e8ec90 user module: force= and remove= should not be mutually exclusive 11 years ago
jctanner 364ad44db3 Merge pull request #5188 from Multifarious/devel
ec2 inventory now include Ansible 1.3 style _meta data each host.
11 years ago
jctanner 5e336d7caf Merge pull request #5075 from gservat/patch-1
Added support for parsing in the SLES patch level correctly
11 years ago
gservat db2f41bdcb This change is meant to replace distribution_release, not version! 11 years ago
gservat 83f35a63dd Oops... fixed an error 11 years ago
Lorrin Nelson 94d60b53de ec2 inventory now include Ansible 1.3 style _meta data each host. 11 years ago
jctanner 6b45c4a6ca Merge pull request #5181 from mvo5/bugfix/apt-fnmatch-remove
add fnmatch() support for apt remove too (just like install)
11 years ago
jctanner 54a43d8cea Merge pull request #5174 from jinnko/devel
Add documentation for usage of encrypted postgresql passwords.
11 years ago
jctanner 9dec25854e Merge pull request #5182 from mscherer/fix_5177
Fix apt module to be able to install package by giving just a provides a...
11 years ago
Jinn Koriech 80d6ca19af Add README info for building the module documentation. 11 years ago
Jinn Koriech 6f2843724d Fix postgresql_user documentation render 11 years ago
Michael Scherer 3df62f1d8a Fix apt module to be able to install package by giving just a provides and not the full name
The apt module check if a packag eis valid by loking in the cache, checking only for
full name, while it should also check that the name is not just provided.
Fix https://github.com/ansible/ansible/issues/5177
11 years ago
Michael Vogt 559de5c65e add fnmatch() support for apt remove too (just like install) 11 years ago
jctanner 85d8587cc0 Merge pull request #5173 from zitterbacke/devel
basic AIX network facts
11 years ago
James Tanner bf78d8cf73 Addresses #5090 setup module was using path.is_file instead of path.isfile 11 years ago
jctanner 01388d1d21 Merge pull request #5179 from dhml/devel
Fix issue #5043: ec2_vpc module wait=yes state attribute retrieval
11 years ago