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

8440 commits

Author SHA1 Message Date
jctanner
320d41149a Merge pull request #5289 from rstrox/devel
rax: import novaclient.exceptions for cs.images.find
2013-12-17 14:04:05 -08:00
jctanner
acf73bc336 Merge pull request #5225 from prometheanfire/devel
tests depend on the default encoding being utf8
2013-12-17 12:46:05 -08:00
jctanner
4209b8a953 Merge pull request #5203 from sivel/irc-rfc-loops
Improve IRC module. Fixes #5186
2013-12-17 11:46:17 -08:00
Roger López
a3dcac0a0f django_manage need not require virtualenv in PATH
The virtualenv parameter to the django_manage command is used to locate
the virtualenv and build it if necessary.  Access to the virtualenv
executable is only needed if the virtualenv directory doesn't exist and
needs to be built.  This patch allows for the situation where a
virtualenv that is not in the PATH was used to create a virtualenv prior
to running the django_manage module.
2013-12-17 14:45:42 -05:00
Brad P. Crochet
47f995ef64 Specify internal_network_name
This allow one to specify a specific internal network name for the case
where there is more than one nic on an instance. Without this, the list
of ports may not return the correct order. Therefore, it is necessary
to specify the exact internal network to attach the floating ip to
2013-12-17 14:24:30 -05:00
jctanner
ea8cd62b19 Merge pull request #5259 from mvo5/bugfix/improve-error-on-invalid-vars-file
improve error on invalid vars file (if its a list instead of a dict)
2013-12-17 11:12:53 -08:00
Brad P. Crochet
ab52efc7fb Add support for neutronclient
The quantum_* modules will now try neutronclient first, and fall back
to quantumclient. If that fails, error out.

The code now references neutron instead of quantum in all internal
cases.
2013-12-17 13:24:20 -05:00
jctanner
93c15a41dc Merge pull request #5274 from veeti/easy_install_chdir
Fix permission error when using easy_install through sudo
2013-12-17 10:11:31 -08:00
jctanner
60e7a72829 Merge pull request #5321 from jeromew/ansible_ssh_alt
ssh_alt - only trigger 'fatal' when returncode == 255 (interpreted as 'c...
2013-12-17 08:58:31 -08:00
jeromew
e4a3f49fa2 ssh_alt - only trigger 'fatal' when returncode == 255 (interpreted as 'could no connect') 2013-12-17 11:42:00 -05:00
jctanner
d7109d7811 Merge pull request #5163 from JensRantil/fix-issue-5026
`env-setup` fix for zsh <= 4.3.10
2013-12-17 08:32:26 -08:00
willthames
12005a1cd0 Move more responsibility to common EC2 module
Moved `AWS_REGIONS` into `ec2` module
Created `ec2_connect` method in `ec2` module
Updated modules able to use `ec2_connect` and `AWS_REGIONS`
2013-12-17 14:07:24 +10:00
jctanner
cd3144af5d Merge pull request #5178 from cavassin/devel
Prevents UnicodeEncodeError
2013-12-16 13:23:16 -08:00
James Tanner
f3a4705a9c Revert "Merge pull request #4874 from leth/editable_install"
This reverts commit 15b89b45e1, reversing
changes made to 3d836a1ab7.
2013-12-16 15:57:03 -05:00
jctanner
53a3671df4 Merge pull request #5160 from JensRantil/fix-issue-5159
Fixes #5159 `file` module: Don't catch `SystemExit`
2013-12-16 12:17:33 -08:00
jctanner
7182486fd2 Merge pull request #5099 from tartansandal/postgresql_db_check_mode
postgres_db CHECKMODE changed status
2013-12-16 11:39:16 -08:00
jctanner
15b89b45e1 Merge pull request #4874 from leth/editable_install
Fix setup.py to work with 'pip install -e .'
2013-12-16 11:22:45 -08:00
Sébastien Bocahu
c8d5846ab9 Let merge hash_bahaviour work with dynamic inventory 2013-12-16 19:55:20 +01:00
Troy C
038d030404 catch exposed cs.exceptions instead of novaclient 2013-12-16 09:33:29 -06:00
jctanner
3d836a1ab7 Merge pull request #5247 from jeromew/ansible_ssh_alt
ssh_alt.py / decrease # of ssh roundtrips
2013-12-16 07:08:35 -08:00
Mohan Krishnan
1dd2510e76 Adds postgres support for Ansible RDS module 2013-12-16 15:51:41 +08:00
Michael DeHaan
f96f69ece3 Update CONTRIBUTING.md 2013-12-15 11:53:54 -05:00
Michael DeHaan
7ff430f461 Update README.md 2013-12-15 11:50:18 -05:00
Michael DeHaan
49667a40c8 Merge pull request #5298 from sa2ajj/minor-docsite-fixes
Minor docsite fixes
2013-12-15 08:32:46 -08:00
Mikhail Sobolev
6569fb8455 fixed a reference to AWX site 2013-12-15 13:12:20 +02:00
Mikhail Sobolev
4448a64069 add seealso to developing_inventory 2013-12-15 13:09:43 +02:00
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.
2013-12-13 16:27:21 -06:00
Jens Rantil
1b6019f6e0 module(file): Fail instead of exit on exception 2013-12-13 21:34:19 +01:00
Jens Rantil
f4aa808b8d module(file): state what went wrong on exception 2013-12-13 21:33:19 +01:00
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
2013-12-13 11:25:45 -08:00
jeromew
5c965a75f0 ssh_alt.py / decrease # of ssh roundtrips 2013-12-13 14:23:40 -05:00
jctanner
1679d83637 Merge pull request #5131 from janeznemanic/devel
Fix for issue #4730 - stacktrace when deferenencing a non-existent group
2013-12-13 11:00:41 -08:00
James Tanner
f55270e746 Set version_added for new_instance_name in cloud/rds module 2013-12-13 13:54:08 -05:00
jctanner
b9cb49e638 Merge pull request #4872 from timurbatyrshin/4869-old-python-apt-fix
#4869 compatibility with older versions of apt
2013-12-13 10:43:47 -08:00
jctanner
301a1189dd Merge pull request #5122 from willthames/openlog_str
Make first argument to syslog.openlog be a string
2013-12-13 08:51:48 -08:00
jctanner
66cad764d2 Merge pull request #5028 from retr0h/correct-nova-api-auth-check
Nova doesn't attempt to auth on obj instantiation
2013-12-13 08:36:27 -08:00
Mike Grozak
ed7c9a1fbb Added to the file module the functionality to force conversion hard link and symlink when the force attribute is set to 'yes' 2013-12-13 17:10:50 +01:00
jctanner
53c5b1d934 Merge pull request #4949 from eest/openbsd_pkg-rework-name-parsing
openbsd_pkg: rework package name parsing.
2013-12-13 08:05:25 -08:00
Vincent Viallet
db37528fd2 Bumped to v1.5 2013-12-13 08:59:52 +08:00
jctanner
dc41912158 Merge pull request #5213 from dalevizo/devel
Add get_dmi_facts in setup for FreeBSD systems using dmidecode
2013-12-12 15:32:59 -08:00
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.
2013-12-12 15:15:34 -08:00
James Tanner
35cd043e25 Addresses #5276 update documentation for ec2_ami no_reboot parameter 2013-12-12 18:03:00 -05:00
jctanner
9cc1e0e963 Merge pull request #5276 from evan82/patch-1
Fix ec2_ami no_reboot setting (currently it will not reboot instances to...
2013-12-12 14:52:54 -08:00
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."
2013-12-12 15:49:24 -07:00
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