Commit Graph

9722 Commits (bf251e3dbf81dc92c111cc01dbb9c19783c3b51a)
 

Author SHA1 Message Date
Matt Martz 6c6dd09e23 Add ability to specify a VirtualIP ID for sharing a VIP with another LB 12 years ago
jctanner 5c5042102f Merge pull request #5254 from j2sol/fix-ssh-missing-quotes
Make sure ssh pipes are empty before moving on
12 years ago
drewlll2ll 54a28eb45b Added prev_state for directory 12 years ago
Michael Vogt bef5ee2c3b improve error on invalid vars file (if its a list instead of a dict) 12 years ago
Andrii Radyk f71e67087f Adding absent condition for to the wait_for module 12 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
12 years ago
Vincent Viallet 30820437bb Minor typos and remove extra dependencies. 12 years ago
Vincent Viallet 1150b78bb0 Add ec2_key module. 12 years ago
Michael Gregson 3ac4611093 Rename digital_ocean_ssh to digital_ocean_sshkey per https://github.com/ansible/ansible/pull/4315#issuecomment-30286556 12 years ago
Michael DeHaan 929f8a5c93 Had to revert commits due to async. 12 years ago
Michael DeHaan 74e4ccb59b Revert "ssh_alt.py / decrease # of ssh roundtrips"
This reverts commit 7f8863f96d.
12 years ago
Michael DeHaan f72bb8c7a8 Merge branch 'ansible_ssh_alt' of git://github.com/jeromew/ansible into devel 12 years ago
Michael DeHaan 62b89c7cc3 Merge pull request #5243 from mivor/devel
Fix typo for ANSIBLE_FORCE_COLOR in Changelog
12 years ago
Ferenc Grecu 0c343ad58e Update CHANGELOG.md
Fix typo in ANSIBLE_FORCE_COLOR
12 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
12 years ago
Will Thames e9a0aff77c Fail EC2 inventory better with restricted EC2 users
If a user has full EC2 access but no RDS access, the user
should still be able to query the EC2 inventory, although
will not obtain any information about any RDS instances.
12 years ago
jeromew 7f8863f96d ssh_alt.py / decrease # of ssh roundtrips 12 years ago
Jim Dalton ac1e84d976 Account for instances that have not yet been registered. Fixes #5076 12 years ago
Michael DeHaan 5cd97e8cf6 Merge pull request #5222 from resmo/fix/apt-update
apt: update index before trying to autoinstall python-apt
12 years ago
Jeffrey Nappi 2b82f7d75f Corrected documentation in ec2_ami module - no_reboot defaults to yes 12 years ago
jeromew db182ba498 copy ssh.py to ssh_alt.py 12 years ago
Matthew Thode c0a7f51671 tests depend on the default encoding being utf8
So we set the utils default encoding to be utf8
12 years ago
jctanner 19d4c1aca8 Merge pull request #5215 from dhml/devel
Fix issue #5214: hostname persistence on RedHat/CentOS
12 years ago
Rene Moser 2d805ae5da apt: update index before trying to autoinstall python-apt 12 years ago
Tim Gerla 1063cbea39 tweak some links and phrasing 12 years ago
Michael DeHaan 0078b6b2a9 Merge pull request #5217 from mmoya/docfix
Fix link to playbooks loops
12 years ago
Tim Gerla 101e8c0a31 flesh out the CI/CD and load balancer sections a bit 12 years ago
Maykel Moya 9018d53a3c Fix link to playbooks loops 12 years ago
Tim Gerla 4da5d267d5 initial commit of a basic rolling upgrade guide, based on the lamp_haproxy example 12 years ago
Dimos Alevizos 8c73aa13e4 Minor changes to simplify code 12 years ago
David Hummel cc3678730c Fix issue #5214: hostname persistence on RedHat/CentOS 12 years ago
John Dewey 6fe8496ab3 Made a few canges as I learn more about modules
* Set check_mode to False, am not supporting this ATM.
* Cleaned up delete/create() into single update().
* Return the group_id if created or found so tasks can be chained.
12 years ago
Dimos Alevizos de4e4c54b9 Add get_dmi_facts in setup for FreeBSD systems using dmidecode 12 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...
12 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 }}"
12 years ago
Matt Martz ccf4199ac8 Initial commit of rax_dns_record 12 years ago
Matt Martz afd55934fc Remove errant raise 12 years ago
Matt Martz 7b3aa5c205 Add state attribute to description 12 years ago
Matt Martz c5f54a94f8 Initial commit of rax_dns module 12 years ago
Matt Martz ead733362f module is not exposed to send_msg, but main() catches exceptions and uses module.fail_json 12 years ago
Matt Martz b48b22b24a Try to follow RFC2812 for waiting on serverl welcome and join messages before performing more tasks 12 years ago
Wanderlei Antonio Cavassin 6ba93817a9 Avoid UnicodeDecodeError exception when passing module args 12 years ago
jctanner 36a305ce9d Merge pull request #5195 from Multifarious/devel
Fix loading from cache in ec2.py inventory plugin.
12 years ago
Lorrin Nelson 663deff2c2 Fix loading from cache in ec2.py inventory plugin. 12 years ago
Michael DeHaan a19ef93cf3 Update README.md
remove author section, references old email address
12 years ago
Michael DeHaan 0fc5771eab Update README.md
Clarify docs readme about wordpress
12 years ago
jctanner 66cf819a68 Merge pull request #5192 from jeromew/ansible_user_removal
user module: force= and remove= should not be mutually exclusive
12 years ago
jeromew 1916e8ec90 user module: force= and remove= should not be mutually exclusive 12 years ago
jctanner 364ad44db3 Merge pull request #5188 from Multifarious/devel
ec2 inventory now include Ansible 1.3 style _meta data each host.
12 years ago
jctanner 5e336d7caf Merge pull request #5075 from gservat/patch-1
Added support for parsing in the SLES patch level correctly
12 years ago