Troy C
038d030404
catch exposed cs.exceptions instead of novaclient
11 years ago
jctanner
3d836a1ab7
Merge pull request #5247 from jeromew/ansible_ssh_alt
...
ssh_alt.py / decrease # of ssh roundtrips
11 years ago
Mohan Krishnan
1dd2510e76
Adds postgres support for Ansible RDS module
11 years ago
Michael DeHaan
f96f69ece3
Update CONTRIBUTING.md
11 years ago
Michael DeHaan
7ff430f461
Update README.md
11 years ago
Michael DeHaan
49667a40c8
Merge pull request #5298 from sa2ajj/minor-docsite-fixes
...
Minor docsite fixes
11 years ago
Mikhail Sobolev
6569fb8455
fixed a reference to AWX site
11 years ago
Mikhail Sobolev
4448a64069
add seealso to developing_inventory
11 years ago
Troy C
3007a8af7e
import novaclient.exceptions for cs.images.find
...
cs.images.find(human_id= throws novaclient.exceptions.NotFound,
resulting in the try/except block with
image = cs.images.find(name=image) being skipped. catching
novaclient.exception.NotFound allows images to be specified with the
human readable name.
Example:
tasks:
- name: Server build request
local_action:
module: rax
region: DFW
image: Ubuntu 12.04 LTS (Precise Pangolin)
Also, the import is placed after try: import pyrax, because pyrax
imports novaclient and should fail if novaclient is missing.
11 years ago
Jens Rantil
1b6019f6e0
module(file): Fail instead of exit on exception
11 years ago
Jens Rantil
f4aa808b8d
module(file): state what went wrong on exception
11 years ago
jctanner
91f903eabe
Merge pull request #4886 from sergeyhush/devel
...
fix when the system does not have lsb_release script, but has /etc/lsb_release file
11 years ago
jeromew
5c965a75f0
ssh_alt.py / decrease # of ssh roundtrips
11 years ago
jctanner
1679d83637
Merge pull request #5131 from janeznemanic/devel
...
Fix for issue #4730 - stacktrace when deferenencing a non-existent group
11 years ago
James Tanner
f55270e746
Set version_added for new_instance_name in cloud/rds module
11 years ago
jctanner
b9cb49e638
Merge pull request #4872 from timurbatyrshin/4869-old-python-apt-fix
...
#4869 compatibility with older versions of apt
11 years ago
jctanner
301a1189dd
Merge pull request #5122 from willthames/openlog_str
...
Make first argument to syslog.openlog be a string
11 years ago
jctanner
66cad764d2
Merge pull request #5028 from retr0h/correct-nova-api-auth-check
...
Nova doesn't attempt to auth on obj instantiation
11 years ago
jctanner
53c5b1d934
Merge pull request #4949 from eest/openbsd_pkg-rework-name-parsing
...
openbsd_pkg: rework package name parsing.
11 years ago
jctanner
dc41912158
Merge pull request #5213 from dalevizo/devel
...
Add get_dmi_facts in setup for FreeBSD systems using dmidecode
11 years ago
jctanner
6051ee0df5
Merge pull request #5052 from bpennypacker/promote_rename
...
cloud/rds module: added promote command & updated modify command to allow for renaming of database instances.
11 years ago
James Tanner
35cd043e25
Addresses #5276 update documentation for ec2_ami no_reboot parameter
11 years ago
jctanner
9cc1e0e963
Merge pull request #5276 from evan82/patch-1
...
Fix ec2_ami no_reboot setting (currently it will not reboot instances to...
11 years ago
evan82
01e8390a8f
Fix ec2_ami no_reboot setting (currently it will not reboot instances to create the AMI)
...
Line 276: no_reboot = dict(default=True, type="bool"),
This should really default to False (When AMIs are created the machine will reboot before copying the disk).
"When enabled, Amazon EC2 does not shut down the instance before creating the image. When this option is used, file system integrity on the created image cannot be guaranteed."
11 years ago
jctanner
1688a7c776
Merge pull request #5231 from jeffnappi/patch-1
...
Corrected documentation in ec2_ami module - no_reboot defaults to yes
11 years ago
Veeti Paananen
fa90f31cc8
Fix permission error when using easy_install through sudo
...
Same as b2542bff72
.
11 years ago
jctanner
2df4e807db
Merge pull request #5273 from jsdalton/fix_minor_wait_bug
...
Make sure initial_state is initialized
11 years ago
jctanner
ae178b24e5
Merge pull request #5271 from tgerla/ec2fixups
...
Tweak some task examples to be more in-line with eucalyptus-ec2.yml in ansible-examples
11 years ago
Jim Dalton
aa329b4b48
Make sure initial_state is initialized
11 years ago
Tim Gerla
f8cc9d5d06
Tweak some task examples to be more in-line with eucalyptus-ec2.yml in language_features
11 years ago
Michael DeHaan
bddaace970
Merge pull request #5268 from mivor/fix-typos
...
Fix typos in intro_configuration.rst & constants.py
11 years ago
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
drewlll2ll
54a28eb45b
Added prev_state for directory
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
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.
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