1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

8711 commits

Author SHA1 Message Date
jctanner
1688a7c776 Merge pull request #5231 from jeffnappi/patch-1
Corrected documentation in ec2_ami module - no_reboot defaults to yes
2013-12-12 14:18:14 -08:00
Nicholas DeClario
b2ea24bc08 Added ability to start and stop existing EC2 instances. 2013-12-12 17:16:59 -05:00
Veeti Paananen
fa90f31cc8 Fix permission error when using easy_install through sudo
Same as b2542bff72.
2013-12-13 00:13:13 +02:00
jctanner
2df4e807db Merge pull request #5273 from jsdalton/fix_minor_wait_bug
Make sure initial_state is initialized
2013-12-12 14:11:01 -08:00
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
2013-12-12 14:09:52 -08:00
Jim Dalton
aa329b4b48 Make sure initial_state is initialized 2013-12-12 13:09:40 -08:00
Tim Gerla
f8cc9d5d06 Tweak some task examples to be more in-line with eucalyptus-ec2.yml in language_features 2013-12-12 13:44:33 -06:00
Michael DeHaan
bddaace970 Merge pull request #5268 from mivor/fix-typos
Fix typos in intro_configuration.rst & constants.py
2013-12-12 10:15:12 -08:00
Ferenc Grecu
b93c23d4c7 Fix typos in configuration documentation 2013-12-12 18:51:09 +02:00
Ferenc Grecu
56642f9b04 Remove unused parameter from _get_config 2013-12-12 18:48:02 +02:00
Matt Martz
27fb55519c Add version_added for vip_id 2013-12-12 09:32:06 -06:00
Matt Martz
6c6dd09e23 Add ability to specify a VirtualIP ID for sharing a VIP with another LB 2013-12-12 09:32:06 -06:00
jctanner
5c5042102f Merge pull request #5254 from j2sol/fix-ssh-missing-quotes
Make sure ssh pipes are empty before moving on
2013-12-12 07:01:35 -08:00
drewlll2ll
54a28eb45b Added prev_state for directory 2013-12-12 09:44:29 -05:00
Michael Vogt
bef5ee2c3b improve error on invalid vars file (if its a list instead of a dict) 2013-12-12 09:56:30 +01:00
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
2013-12-11 21:32:37 -08:00
Vincent Viallet
30820437bb Minor typos and remove extra dependencies. 2013-12-12 12:30:22 +08:00
Vincent Viallet
1150b78bb0 Add ec2_key module. 2013-12-12 12:23:58 +08:00
Michael DeHaan
929f8a5c93 Had to revert commits due to async. 2013-12-10 19:24:08 -05:00
Michael DeHaan
74e4ccb59b Revert "ssh_alt.py / decrease # of ssh roundtrips"
This reverts commit 7f8863f96d.
2013-12-10 19:23:52 -05:00
Michael DeHaan
f72bb8c7a8 Merge branch 'ansible_ssh_alt' of git://github.com/jeromew/ansible into devel 2013-12-10 18:39:40 -05:00
Michael DeHaan
62b89c7cc3 Merge pull request #5243 from mivor/devel
Fix typo for ANSIBLE_FORCE_COLOR in Changelog
2013-12-10 15:34:36 -08:00
Ferenc Grecu
0c343ad58e Update CHANGELOG.md
Fix typo in ANSIBLE_FORCE_COLOR
2013-12-10 23:40:11 +02:00
jctanner
c04b21dc9a Merge pull request #5232 from jsdalton/fix_elb_instance_state_issue
Account for instances that have not yet been registered. Fixes #5076
2013-12-10 10:02:29 -08:00
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.
2013-12-10 21:32:54 +10:00
jeromew
7f8863f96d ssh_alt.py / decrease # of ssh roundtrips 2013-12-10 06:00:21 -05:00
Jim Dalton
ac1e84d976 Account for instances that have not yet been registered. Fixes #5076 2013-12-09 19:38:03 -08:00
Michael DeHaan
5cd97e8cf6 Merge pull request #5222 from resmo/fix/apt-update
apt: update index before trying to autoinstall python-apt
2013-12-09 18:32:25 -08:00
Jeffrey Nappi
2b82f7d75f Corrected documentation in ec2_ami module - no_reboot defaults to yes 2013-12-09 18:57:58 -07:00
jeromew
db182ba498 copy ssh.py to ssh_alt.py 2013-12-09 14:11:29 -05:00
Matthew Thode
c0a7f51671 tests depend on the default encoding being utf8
So we set the utils default encoding to be utf8
2013-12-09 12:49:03 -06:00
jctanner
19d4c1aca8 Merge pull request #5215 from dhml/devel
Fix issue #5214: hostname persistence on RedHat/CentOS
2013-12-09 06:51:52 -08:00
Rene Moser
2d805ae5da apt: update index before trying to autoinstall python-apt 2013-12-09 10:21:27 +01:00
Tim Gerla
1063cbea39 tweak some links and phrasing 2013-12-08 19:40:21 -08:00
Michael DeHaan
0078b6b2a9 Merge pull request #5217 from mmoya/docfix
Fix link to playbooks loops
2013-12-08 14:04:13 -08:00
Tim Gerla
101e8c0a31 flesh out the CI/CD and load balancer sections a bit 2013-12-08 13:19:09 -08:00
Maykel Moya
9018d53a3c Fix link to playbooks loops 2013-12-08 22:09:54 +01:00
Tim Gerla
4da5d267d5 initial commit of a basic rolling upgrade guide, based on the lamp_haproxy example 2013-12-08 12:56:57 -08:00
Dimos Alevizos
8c73aa13e4 Minor changes to simplify code 2013-12-08 09:02:50 +02:00
David Hummel
cc3678730c Fix issue #5214: hostname persistence on RedHat/CentOS 2013-12-07 21:10:42 -05:00
Dimos Alevizos
de4e4c54b9 Add get_dmi_facts in setup for FreeBSD systems using dmidecode 2013-12-07 17:16:20 +02:00
Michael DeHaan
fa8a02dcda Merge pull request #5212 from tarka/devel
Cast the retrieved `retries` var to an int before incrementing as it may...
2013-12-07 04:51:19 -08:00
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 }}"
2013-12-07 10:35:14 +01:00
Matt Martz
ccf4199ac8 Initial commit of rax_dns_record 2013-12-06 17:03:08 -06:00
Matt Martz
afd55934fc Remove errant raise 2013-12-06 16:49:28 -06:00
Matt Martz
7b3aa5c205 Add state attribute to description 2013-12-06 16:10:00 -06:00
Matt Martz
c5f54a94f8 Initial commit of rax_dns module 2013-12-06 13:13:09 -06:00
Matt Martz
ead733362f module is not exposed to send_msg, but main() catches exceptions and uses module.fail_json 2013-12-06 11:42:30 -06:00
Matt Martz
b48b22b24a Try to follow RFC2812 for waiting on serverl welcome and join messages before performing more tasks 2013-12-06 11:42:30 -06:00
Wanderlei Antonio Cavassin
6ba93817a9 Avoid UnicodeDecodeError exception when passing module args 2013-12-06 12:59:43 -02:00