jctanner
e658dc292b
Merge pull request #5703 from ethercrow/fakes3
...
[s3] Compatibility with fakes3.
2014-03-11 11:48:21 -04:00
James Cammarata
8ca3bb4137
Updating profile/security_token version_added labels
2014-03-11 10:48:16 -05:00
Michael DeHaan
40b82a33c0
Merge pull request #5916 from tidzo/issue4992
...
Fix for #4992 - Add userdata to cloud/nova_compute
2014-03-11 10:45:40 -05:00
James Cammarata
430cce9df3
Merge branch 'ec2_security_token' of https://github.com/willthames/ansible into willthames-ec2_security_token
2014-03-11 10:45:38 -05:00
James Tanner
cd3fcd843a
Set version-added for new parameters in ec2_elb_lb and elasticache
2014-03-11 11:44:47 -04:00
Michael DeHaan
2e10e1e0d6
Merge pull request #5997 from jonasi/elasticache_vpc_security_groups
...
Elasticache vpc security groups
2014-03-11 10:42:13 -05:00
Michael DeHaan
2df40933f1
Merge pull request #6262 from willthames/ec2_tags_print
...
Allow ec2_tag module to print the tags of an instance
2014-03-11 10:33:07 -05:00
Michael DeHaan
faef76b818
Merge pull request #6264 from sqs/cloud-rds-add-new-db-instance-types
...
Add new cloud/rds DB instance types (db.m3 and db.cr1 families)
2014-03-11 10:32:39 -05:00
Michael DeHaan
10f852a807
Update version_added for wait_timeout parameter on elb module.
2014-03-11 11:22:17 -04:00
Michael DeHaan
f6878d4ada
Merge pull request #6020 from bpennypacker/ec2_elb_timeout
...
cloud/ec2_elb module: Added wait_timeout parameter
2014-03-11 10:21:38 -05:00
Michael DeHaan
003a405182
Merge pull request #6104 from gianlucaborello/digitalocean_fix_deletion
...
Make sure droplet deletion works even when idempotency is achieved using 'name' and 'unique_name' rather than 'id'
2014-03-11 10:20:43 -05:00
Michael DeHaan
f824a846bc
Merge pull request #6230 from joshuaconner/bugfix_nova_computer_partial_server_name_match
...
nova_compute: fix for partial match b/w params['name'] and an existing name
2014-03-11 10:20:02 -05:00
Michael DeHaan
1eed6f46bf
Merge pull request #6306 from willthames/ec2_module_clearer_failures
...
Make it easier to determine whether instance creation or tagging fails
2014-03-11 10:18:50 -05:00
Michael DeHaan
3af6befbae
Merge pull request #6324 from scottanderson42/bugfix/route53-characters
...
BUGFIX: route53 module won't round-trip * and @ in records
2014-03-11 10:18:23 -05:00
Michael DeHaan
5978567509
Merge pull request #6366 from cloudify/devel
...
Fix for #6365 : cloudformation module fails to update if stack exists
2014-03-11 10:17:47 -05:00
Michael DeHaan
fd9df5f429
Merge pull request #6372 from mriedelumab/devel
...
Returning 'NA' when no virtualization found
2014-03-11 10:17:22 -05:00
Michael DeHaan
247d688c13
Merge pull request #6233 from garethr/aws-autoscaling-groups
...
Added modules to manage ec2 autoscaling groups
2014-03-11 10:15:40 -05:00
Michael DeHaan
297b048d0e
Fix other reference to APT_ENV_VARS.
2014-03-11 10:47:53 -04:00
Michael DeHaan
c09d4b1c7a
Update apt module so that environment variables are set correctly since not going through shell. Very sorry folks, it will be addressed.
2014-03-11 08:39:28 -04:00
Michael DeHaan
0f962dba14
Missing comma in argument spec.
2014-03-10 19:37:34 -04:00
James Tanner
ba0fec4f42
Force command action to not be executed by the shell unless specifically enabled
2014-03-10 16:13:30 -05:00
James Cammarata
9730157525
Validate SSL certs accessed through urllib*
...
* Adds another module utility file which generalizes the
access of urls via the urllib* libraries.
* Adds a new spec generator for common arguments.
* Makes the user-agent string configurable.
Fixes #6211
2014-03-10 16:06:52 -05:00
Matthew Riedel
5875d19f4d
Returning 'NA' when no virtualization found
2014-03-10 11:58:04 -04:00
Richard C Isaacson
c6fbb0059b
Some cleanup.
2014-03-10 10:31:08 -05:00
Federico Feroldi
b9ab31ebd8
Fix for #6365 : cloudformation module fails to update if stack exists
2014-03-10 13:11:09 +01:00
Charles Duffy
18f53d9219
#6341 : use shared function for parsing systemd status; check rc code
2014-03-10 01:05:48 -05:00
Charles Duffy
d59973295d
#6341 : check systemd service status with show subcommand
2014-03-10 00:09:29 -05:00
Jarno Keskikangas
37ef39d0fa
Recognize rule changes even if ufw is in disabled state.
...
See http://askubuntu.com/questions/30781/see-configured-rules-even-when-inactive
for the details.
2014-03-09 12:56:52 +02:00
Jarno Keskikangas
4d5340587e
Insert rule to a specific num.
2014-03-09 12:56:51 +02:00
Jarno Keskikangas
0247708199
Fix typo: 'reseted' -> 'reset'.
2014-03-09 12:56:51 +02:00
Jarno Keskikangas
2613e6fb14
Add protocol options 'esp' and 'ah'.
2014-03-09 12:56:51 +02:00
Jarno Keskikangas
f4e8a86c87
Add functionality and reduce complexity.
...
* Separate 'state', 'policy' and 'rule' commands
* Support for 'logging' command
* Support for 'direction' and 'interface' attributes
* Reliable change notifications based on 'ufw status verbose' diff
* Update documentation
* Cleanup
2014-03-09 12:56:51 +02:00
Aleksey Ovcharenko
651c04a3ec
New module [ufw]: this module handles Ubuntu UFW operations
...
* Updated documentation related to IPv6 usage.
BugFixes:
* Solved the default_policy and state mutual exclusive status.
* Fixed changed status for IPv6 addresses.
Added @otnateos patch.
2014-03-09 12:56:51 +02:00
Hagai
748e8a7740
Add a package to missing list if npm list reported it as invalid
2014-03-09 12:48:44 +02:00
Michael DeHaan
c79b5ea4b4
Merge pull request #6344 from alimony/patch-1
...
Touch up documentation strings for DigitalOcean.
2014-03-08 18:41:48 -06:00
Markus Amalthea Magnuson
3f681ebc52
Touch up documentation strings for DigitalOcean.
2014-03-08 12:40:45 +01:00
Dolph Mathews
8808e029f9
spelling correction for "separate"
...
s/seperate/separate/
http://en.wiktionary.org/wiki/separate
2014-03-08 04:51:34 -06:00
Richard C Isaacson
aba86e3657
Cleaning up pep8 alerts.
2014-03-07 23:06:19 -06:00
Richard C Isaacson
f3c1177265
Documentation cleanup.
2014-03-07 23:04:56 -06:00
Richard C Isaacson
7686204b43
Refactored a few things to be more inline with the Ansible way. Passing testing.
2014-03-07 23:04:07 -06:00
Charles Duffy
44ebd3f4f3
systemd template services must not discard template part
2014-03-07 18:53:15 -06:00
Richard C Isaacson
a483e42583
unarchive module: Add creates functionality.
...
Closes GH-5354.
Forklift copy logic into unarchive. Provides integration unit tests.
2014-03-07 18:19:46 -06:00
Richard C Isaacson
d6247a3583
Yum: Fix logic in yum.
2014-03-07 15:22:59 -06:00
Richard C Isaacson
47b2dc611c
Look at the filename and if it has a version defined possibly process this as a downgrade.
2014-03-07 15:01:39 -06:00
Richard C Isaacson
9244283122
Spelling and formatting.
2014-03-07 13:53:31 -06:00
Cove Schneider
29f1528492
change order of copyright
2014-03-07 11:08:08 -06:00
Cove Schneider
f47fe7af62
add sponsor copyright/attribution
2014-03-07 11:07:48 -06:00
Cove Schneider
cbd1da6457
add yum module downgrade support
2014-03-07 11:07:18 -06:00
aresch
a45bfbe06e
Fix rpm_key on system with no gpg keys imported
...
Without the -a option, rpm command will fail (exit code 1) and execute_command() will fail causing an initial key import to not work.
[root@test ~]# rpm -q gpg-pubkey
package gpg-pubkey is not installed
[root@test ~]# echo $?
1
[root@test ~]# rpm -qa gpg-pubkey
[root@test ~]# echo $?
0
2014-03-06 16:12:11 -08:00
Scott Anderson
db67c3d772
Fixes a bug that prevents round-tripping of * and @
2014-03-06 19:10:56 -05:00
James Cammarata
5a235f9e99
Merge pull request #6318 from jimi-c/issue_5305_ec2_elb_None_issue
...
Adding a wait loop to ec2_elb for the initial lb state when registering
2014-03-06 14:01:11 -06:00
Michael DeHaan
616d7e53b1
Merge pull request #6305 from amree/fix-mysql-replication-port
...
Fixed SQL syntax error when running mysql_replication module
2014-03-06 11:08:12 -06:00
Michael DeHaan
7710867922
Merge pull request #6308 from muffl0n/file_fix_documentation
...
Module "file": Fix link to "path" in documentation
2014-03-06 11:04:47 -06:00
Michael DeHaan
acd64bf5a1
Merge pull request #6313 from phenomenes/msg-encoding-fix
...
Don't use keyword `error` in encode
2014-03-06 10:59:11 -06:00
James Cammarata
9f2999df79
Un-escape newlines in delimiters for assemble module
2014-03-06 09:44:56 -06:00
Jimena Cabrera-Notari
cc6e1ec261
Don't use keyword error
in encode
...
This is not supported in Python 2.6. Just use positional arguments.
2014-03-06 13:33:53 +00:00
Sven Schliesing
f62cc1e351
Fix link in documentation
...
c(dest) -> c(path)
2014-03-06 13:16:29 +01:00
Andrew Newdigate
9d97c560fb
Added 'version_added' attributes for new fields.
...
Also added missing fields to documentation and added some more examples.
2014-03-06 09:18:38 +00:00
willthames
4a093a9709
Make it easier to determine whether instance creation or tagging fails
2014-03-06 16:30:39 +10:00
Will Thames
b9a7352e0a
Work to allow security tokens and profiles to work with Ansible
...
Allow security tokens and profiles to be used as arguments
to the 'common' ec2 modules
Mostly refactoring to provide two new methods,
`get_aws_connection_info`, which results in a dict that can be
passed through to the boto `connect_to_region` calls, and
`connect_to_aws` that can pass that dict through to the
`connect_to_region` method of the appropriate module.
Tidied up some variable names
Works around boto/boto#2100
profiles don't work with boto < 2.24, but this detects for that
and fails with an appropriate message. It is designed to work
if profile is not passed but boto < 2.24 is installed.
Modifications to allow empty aws auth variables to be passed
(this is useful if wanting to have the keys as an optional
parameter in ec2 calls - if set, use this value, if not set,
use boto config or env variables)
Reworked validate_certs improvements to work with refactoring
Added documentation for profile and security_token to affected modules
2014-03-06 16:28:30 +10:00
amree
1d731e5c30
MASTER_PORT variable for CHANGE MASTER TO command can only accept integer value
2014-03-06 12:19:54 +08:00
James Cammarata
25cf215f54
Create the tempdir in the accelerate module if it doesn't exist
...
Fixes #6047
2014-03-05 22:08:09 -06:00
Andrew Newdigate
8748d625b2
Added support for setting up maintenance windows of under an hour.
...
Added support for using tokens instead of usernames and passwords.
2014-03-05 22:22:56 +00:00
jctanner
6a615f18c5
Merge pull request #5872 from tomdymond/add-ignoreerror-to-sysctl
...
Add option to enable the sysctl -e option
2014-03-05 12:58:05 -05:00
Julien DAUPHANT
16bb6c88f5
Add version_added 1.6 for the params modprobe option
2014-03-05 16:45:20 +01:00
Julien DAUPHANT
daa7416323
Add linux module parameters for the modprobe module
2014-03-05 16:42:52 +01:00
Alexander Popov
e56cffe3a5
Renamed instance_tags to resource_tags based on community feedback.
2014-03-05 10:11:55 -05:00
Alexander Popov
3c4b14523b
Renamed subnet's 'tags' attribute into 'instance_tags' to distinguish it from Ansible's own 'tags' and to conform to ec2 module naming for AWS tags.
2014-03-05 10:11:55 -05:00
Alexander Popov
428c69c08a
Refactored subnet tagging to account for AWS delays; added 'tags' attribute to 'subnet' node in the returned json.
2014-03-05 10:11:55 -05:00
Alexander Popov
4dbac647bc
Added documentation for subnets: tags: option
2014-03-05 10:11:55 -05:00
Alexander Popov
2a108b2aeb
Added subnet tagging.
2014-03-05 10:11:55 -05:00
jctanner
40ee030790
Merge pull request #6265 from franckcuny/gce-fixes
...
Add credential parameters to the GCE modules.
2014-03-05 00:11:52 -05:00
Leo R. Lundgren
dd62de0384
Fix whitespace (tabs -> spaces).
2014-03-05 05:12:21 +01:00
Leo R. Lundgren
347b425c67
Make irc module accept the nick being shortened by the server.
...
This can happen if the server has a NICKLEN setting which is less
than the length of the specified nick. With this patch we now grab
that nick and use it moving forward, instead of failing because we
didn't get back the one we specified, in the connection response.
2014-03-05 04:39:08 +01:00
Franck Cuny
6294264dc4
Add credential parameters to the GCE modules.
...
In order to simplify the workflow with the GCE modules, it's now
possible to add the parameters and project name as arguments to the
various GCE modules.
The inventory plugin also returns the IP of the host in
`ansible_ssh_host` so that you don't have to specify IPs into the
inventory file.
Some update to the documentation are also added.
Closes #5583 .
2014-03-04 19:27:49 -08:00
Michael DeHaan
da2126eda5
Merge pull request #6279 from techtonik/patch-1
...
setup: Fix KeyError: 'ipv4_secondaries' (issue #6274 )
2014-03-04 14:24:36 -05:00
anatoly techtonik
a48f0da9d8
setup: Fix KeyError: 'ipv4_secondaries' (issue #6274 )
2014-03-04 20:00:18 +02:00
Michael Scherer
5fd7b8010f
Fix wrong module name for exception in nova compute
...
failed: [127.0.0.1] => {"failed": true, "parsed": false}
invalid output was: Traceback (most recent call last):
File "/tmp/ansible-tmp-1393950384.39-102240090845592/nova_compute", line 1328, in <module>
main()
File "/tmp/ansible-tmp-1393950384.39-102240090845592/nova_compute", line 241, in main
except exc.Unauthorized, e:
NameError: global name 'exc' is not defined
2014-03-04 17:30:15 +01:00
jctanner
0e494242cf
Merge pull request #6271 from jimkytola/docker-image-fix
...
Removes pluralization of manager tag attribute.
2014-03-04 10:37:50 -05:00
Jim Kytola
186d19f224
Removes pluralization of manager tag attribute.
2014-03-04 10:07:32 -05:00
ToBeReplaced
23d4ecc2a5
Add comment about mod_admin_extra
...
Fixes issue #6027 .
2014-03-04 09:19:44 -05:00
willthames
f568140ea5
Allow ec2_tag module to list the tags of an instance
...
Use the list argument to state to just collect the
tags of a resource through the AWS API.
2014-03-04 23:36:17 +10:00
Quinn Slack
635fdcb533
Add new cloud/rds DB instance types (db.m3 and db.cr1 families)
2014-03-03 19:59:27 -08:00
Joshua Conner
10f36e8c62
nova_compute: remove ternary statement
2014-03-03 10:55:28 -08:00
James Tanner
39e368b713
Fix debconf docstring indentation
2014-03-03 13:48:44 -05:00
James Tanner
ff1ae57fbf
Merge branch 'debconf' of git://github.com/bcoca/ansible into bcoca-debconf
2014-03-03 13:46:11 -05:00
James Tanner
abd7c0b565
Update cpanm module to newer module patterns
2014-03-03 13:37:32 -05:00
James Tanner
4da0428d89
Merge branch 'module-cpanm' of git://github.com/franckcuny/ansible into franckcuny-module-cpanm
2014-03-03 13:07:26 -05:00
jctanner
b1a3e367b6
Merge pull request #6196 from softzilla/feature/docker_py_0.3.0_ansible
...
docker_image: added support for docker_py >= 0.3.0, Docker API >= 1.8. Replace #6178
2014-03-03 11:58:16 -05:00
James Cammarata
7f1989dc9c
Adding a wait loop to ec2_elb for the initial lb state when registering
...
Fixes #5305
2014-03-03 10:12:03 -06:00
jctanner
1e01fb856d
Merge pull request #6242 from scottanderson42/rds-group-modules
...
Adds modules for managing Amazon RDS parameter and subnet groups.
2014-03-03 09:42:44 -05:00
Scott Anderson
5c9739ae9c
Adds modules for managing Amazon RDS parameter and subnet groups.
2014-03-02 19:36:07 -05:00
Gareth Rushgrove
a26bc3e2f9
correct name in documentation and example
2014-03-02 12:00:50 +00:00
Gareth Rushgrove
87265cd4b3
correct version added
2014-03-02 11:58:22 +00:00
Brian Coca
400a1aa49a
didnt make 1.5 ... lets see
2014-03-01 22:28:51 -05:00
Brian Coca
68510ecda8
added better gentoo/funtoo support
2014-03-01 21:56:02 -05:00
Gareth Rushgrove
c770462fad
Added modules to manage ec2 autoscaling groups
...
Includes management of Launch Configuration and related Autoscaling
Groups
2014-03-01 16:06:19 +00:00
Michael DeHaan
90655cb7b0
Fix up examples in the assert docs to match the way things work.
2014-03-01 09:34:21 -05:00
Joshua Conner
ce5939c507
nova_compute: fix for partial match b/w params['name'] and an existing name
...
When there is an Openstack instance that has a name that's a partial match
for module.params['name'], but a server with name module.params['name']
doesn't yet exist, this module would fail with a list index out of bounds
error. This fixes that by filtering by exact name and only then getting the
server from the list if the list is still not empty.
2014-02-28 18:05:52 -08:00
Eugene Brevdo
fa3d84d59e
Tiny bugfix in ec2_vol documentation.
2014-02-28 11:56:42 -08:00
Michael DeHaan
4b281ca5c7
Make the npm production parameter in the docs list the choices.
2014-02-28 14:00:00 -05:00
Michael DeHaan
6c43e0e010
Simplify file module parameter description.
2014-02-28 13:55:07 -05:00
Michael DeHaan
bbb88517ef
Since the ec2 parameter is named 'key_name' and 'keypair' is just an alias, use
...
the primary name of the parameter in the examples.
2014-02-28 13:52:47 -05:00
Michael DeHaan
b2c8b8ba86
Merge pull request #6222 from csinchok/patch-1
...
Typo in rabbitmq_plugin docs
2014-02-28 12:59:28 -05:00
Michael DeHaan
9d3a344c06
Merge pull request #6223 from lvh/patch-2
...
Support ssh-ed25519 keys
2014-02-28 12:59:05 -05:00
Laurens Van Houtven
80e2c597a8
Support ssh-ed25519 keys
...
The newest version of OpenSSH supports a new, wonderful key type. authorized_key incorrectly discards pubkeys of this type as busted because it doesn't recognize type signature.
2014-02-28 18:46:54 +01:00
James Cammarata
57486b268a
Use the no-user-groups option (-N) for useradd in the user module
...
If no group was specified, but a group by the same name as the user
exists, an error was raised in the situation where USERGROUPS_ENAB is
enabled in /etc/login.defs (which is the case for almost every major
linux distro). In this case, the user will be put in group 100 (which
is usually the "users" group on those same distros). This is currently
only done in the base class, as the issue may not exist on other
platforms like AIX or the BSDs.
Fixes #6210
2014-02-28 11:46:27 -06:00
Chris Sinchok
796ac6d01c
Typo in rabbitmq_plugin docs
...
Should be "plugins", not "users".
2014-02-28 11:38:11 -06:00
Richard C Isaacson
f17e549ff9
Typo fix.
2014-02-28 11:02:58 -06:00
Richard C Isaacson
809b714bfc
Replace mode with octal renaming to mode.
...
Closes GH-6176
This way for mode we return in an octal format which is immediately usable compared to transforming it later.
2014-02-28 10:42:20 -06:00
Richard Isaacson
cca7fd3c0c
Merge pull request #1 from bcoca/stat_updaates
...
added octal representation of mode and made md5 checksumming optional
2014-02-28 10:39:41 -06:00
Andy Trevorah
1280269866
apt_repository: autoinstall python-apt if not available
2014-02-28 16:39:06 +00:00
Richard Isaacson
44da82c90f
Merge pull request #6218 from risaacson/issues_6194
...
Copy Module: Add the ability to set directory attributes on recursive copy.
2014-02-28 10:14:04 -06:00
Richard C Isaacson
7b6c7366d1
Minor cleanup.
2014-02-28 10:04:05 -06:00
Richard C Isaacson
890202e4c0
copy module: cleanup and if directory_mode not set default to umask
2014-02-28 10:00:54 -06:00
jctanner
42a2586dfa
Merge pull request #6171 from joshuaconner/update_to_docker-py_0.3.0
...
docker: update to docker-py 0.3.0, plus full port binding support etc. from #5639
2014-02-28 08:31:56 -05:00
Richard C Isaacson
cf4a6b39cc
Copy Module: Add the ability to set directory attributes on recursive copy.
...
Closes GH-6194.
These changes pass attribute modifications through to new directories during a recursive copy with an addition allowing for the directory mode to be set independantly.
2014-02-28 01:14:32 -06:00
James Tanner
aeccbeeed2
add failsafe comment for install_repoquery
2014-02-27 13:42:05 -05:00
James Tanner
122a7021bc
remove install_repoquery docstring
2014-02-27 13:29:15 -05:00
James Tanner
3f43fa529d
Install yum-utils by default
2014-02-27 13:16:30 -05:00
James Tanner
58c78539bb
Fix typo
2014-02-27 12:40:51 -05:00
James Tanner
da210522f3
Fix up docstring type and extra info about list
2014-02-27 12:39:27 -05:00
James Tanner
79fb252dc9
Update docstring for rhn details
2014-02-27 12:34:53 -05:00
James Tanner
f89e5315af
Add install_repoquery parameter to the yum module
2014-02-27 12:18:25 -05:00
Michael DeHaan
829f959dce
Merge pull request #6201 from cchurch/devel
...
Escape subversion parameters for running svn commands
2014-02-27 10:36:44 -05:00
Richard Isaacson
73fa767a6b
Added instance_tenancy functionality per social request.
2014-02-27 09:29:00 -06:00
Gareth Armstrong
02477eef69
Fix issue 5621, rpm_key doesn't work for el5
2014-02-27 14:52:56 +01:00
Chris Church
5c2c29e71f
Pass svn arguments as a list of strings instead of using string substition to ensure all parameters are escaped properly.
2014-02-26 22:23:26 -05:00
James Cammarata
32a2636dc7
Add expanduser calls on src/dest in the module too
2014-02-26 15:19:45 -06:00
James Cammarata
3274785350
Merge pull request #5689 from pgehres/devel
...
Adding the region to the output of the ec2 module's creation of a new in...
2014-02-26 14:45:12 -06:00
Pavel Antonov
21a7bace77
Support docker_py >= 0.3.0, Docker API >= 1.8, extended error reporting
2014-02-27 00:27:39 +04:00
James Cammarata
bb5da4c5f6
Merge branch 'devel' of https://github.com/josephtate/ansible into josephtate-devel
...
Conflicts:
library/cloud/ec2
2014-02-26 13:57:07 -06:00
James Cammarata
d6b912c429
Modifying the wait logic for newly created images to avoid tracebacks
...
Fixes #4619
2014-02-26 13:33:31 -06:00
James Cammarata
e659d55d62
Merge branch 'devel' of https://github.com/muffl0n/ansible into muffl0n-devel
2014-02-26 12:28:26 -06:00
James Cammarata
8a7c68dc18
Merge branch 'ec2-params' of https://github.com/scottanderson42/ansible into scottanderson42-ec2-params
...
Conflicts:
lib/ansible/module_utils/ec2.py
library/cloud/ec2
2014-02-26 09:37:26 -06:00
Michael DeHaan
404765162d
Merge pull request #6184 from patrys/patch-1
...
Properly match existing security group
2014-02-26 08:10:27 -05:00
Patryk Zawadzki
da1efee21f
Properly match existing security group
...
If we don't care about `vpc_id` then neither should the code.
2014-02-26 13:39:03 +01:00
Guido Kollerie
a000f37132
Emphasize target is on remote host. List supported file types.
...
From the documentation it is not immediately clear that the 'target'
option refers to a location on the remote host. This change emphasizes that.
In addition to .sql files, .bz2 and .gz files are supported for dumps and
restores. This is now documented.
2014-02-26 12:56:24 +01:00
jctanner
6fa898c511
Merge pull request #5092 from willthames/ec2_snapshot
...
Module to create EC2 snapshots
2014-02-26 06:10:17 -05:00
jctanner
1277b45b3c
Merge pull request #5941 from sivel/rax-name-search-opts
...
rax module: Use regex start and end of string with name base filters
2014-02-26 05:56:39 -05:00
Brian Coca
53d71a3949
added octal representation of mode and made md5 checksumming optional
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2014-02-25 21:33:14 -05:00
Dustin C. Hatch
467914e3c3
filesystem: Ignore blkid cache
...
Sometimes, `blkid` will incorrectly return no information about a block
device, even if it exists and has a valid filesystem. This causes the
*filesystem* module to fail if *force=no*. Instructing `blkid` to use
`/dev/null` as a cache file will force it to rescan the block device on
each run, making results more consistent.
Signed-off-by: Dustin C. Hatch <admiralnemo@gmail.com>
2014-02-25 20:16:01 -06:00
Joshua Conner
9c72b52c01
docker: add 'version_added' to the appropriate documentation entries
2014-02-25 17:04:01 -08:00
Chris Church
1d6bdd451b
Fix setup module to gather facts from PowerPC Macs.
2014-02-25 18:27:36 -05:00
Joshua Conner
66eb91c2f8
docker: update to docker-py 0.3.0, plus full port binding support, container names, links
2014-02-25 15:24:46 -08:00
James Tanner
0cca4a3919
Fixes #5255 yum: set disabled repos before enabled repos and fix the parameters used
2014-02-25 14:53:48 -05:00
James Cammarata
03cb2f5ffa
Merge branch 'git_version_tags' of https://github.com/j2sol/ansible into j2sol-git_version_tags
2014-02-25 13:05:29 -06:00
James Cammarata
cb79947054
Fixing the unicode issue in uri for EL6 platforms
...
Fixes #5869
2014-02-25 13:04:05 -06:00
James Cammarata
6fe369fca0
Merge branch 'usermod_fix' of https://github.com/tknguyen79/ansible into tknguyen79-usermod_fix
...
Conflicts:
library/system/user
2014-02-24 23:38:51 -06:00
James Cammarata
97eededc99
Handle unicode content in the uri module properly
...
Fixes #5869
2014-02-24 23:34:17 -06:00
Stefan J. Betz
789ae4697c
Require force for LVM shrink and remove operations in lvol. Fixes #5774
...
Conflicts:
library/system/lvol
2014-02-24 18:52:35 -06:00
Michael DeHaan
05bf80751b
Merge pull request #6158 from risaacson/issues_5165
...
If you try to resize a lvol to the current size return a changed=False and don't fail.
2014-02-24 19:17:43 -05:00
Richard C Isaacson
bf30707670
If you try to resize a lvol to the current size return a changed=False and don't fail.
...
This addresses GH-5165 and adds the ability to check if a lvol exists.
The tests for this don't fit nicely into the current integration tests so they are below.
```
---
- name: remove any existing lv=one of vg=main
lvol: lv=one vg=main state=absent
- name: remove any existing lv=two of vg=main
lvol: lv=two vg=main state=absent
- name: check to see if lv=one of vg=main exists
lvol: lv=one vg=main state=present
ignore_errors: true
register: lvol_result0
- name: Assert that we will get a "No size given."
assert:
that:
- "'No size given.' in lvol_result0.msg"
- name: create lv=one of vg=main sized 30g
lvol: lv=one size=30g vg=main state=present
register: lvol_result1
- name: Assert that we made changes."
assert:
that:
- "lvol_result1.changed == True"
- name: check to see if lv=one of vg=main exists
lvol: lv=one vg=main state=present
register: lvol_result2
- name: Assert that we did not make changes."
assert:
that:
- "lvol_result2.changed == False"
- name: remove lv=one of vg=main
lvol: lv=one vg=main state=absent
- name: create lv=two of vg=main sized 30G
lvol: lv=two size=30G vg=main state=present
register: lvol_result3
- name: Assert that we made changes."
assert:
that:
- "lvol_result3.changed == True"
- name: reduce lv=two of vg=main to 15G
lvol: lv=two size=15G vg=main state=present
register: lvol_result4
- name: Assert that we made changes."
assert:
that:
- "lvol_result4.changed == True"
- name: increase lv=two of vg=main to 30G
lvol: lv=two size=30G vg=main state=present
register: lvol_result5
- name: Assert that we made changes."
assert:
that:
- "lvol_result5.changed == True"
- name: create lv=two of vg=main sized 30G when already exists at 30G
lvol: lv=two size=30g vg=main state=present
register: lvol_result6
- name: Assert that we did not make changes."
assert:
that:
- "lvol_result6.changed == False"
- name: remove lv=two of vg=main
lvol: lv=two vg=main state=absent
```
2014-02-24 16:56:08 -06:00
Kyle Kelley
b5eb4d2a71
Fix expires
2014-02-24 15:54:55 -06:00
James Cammarata
be0be16e89
Merge branch '5853-python-2.5-apt_repository-fix' of https://github.com/timurbatyrshin/ansible into timurbatyrshin-5853-python-2.5-apt_repository-fix
2014-02-24 15:20:29 -06:00
James Cammarata
3b2d409906
Fixing several bugs in assemble and updating tests
...
Bugfixes:
* the remote_src param was not being converted to a boolean correctly,
resulting in it never being used by the module as the default behavior
was remote_src=True (issue #5581 )
* the remote_src param was not listed in the generic file params, leading
to a failure when the above bug regarding remote_src was fixed
* the delimiter should always end with a newline to ensure that the file
fragments do not run together on one line
Fixes #5581
2014-02-24 14:27:23 -06:00
James Cammarata
f03d6a67c8
Adding new tests for assemble role
2014-02-24 14:27:23 -06:00
Richard C Isaacson
aaf0a182e1
Merge remote-tracking branch 'jeromew/ansible_script_creates' into issues_4986
2014-02-24 10:16:39 -06:00
Lukáš Lalinský
8d507f79b9
Don't require pycurl in apt_repository when it's not actually needed
2014-02-22 15:33:54 +01:00
Scott Patten
dbde446358
In the route53 module, documenting that TXT and SPF requests
...
must be surrounded by quotes.
Otherwise you get a cryptic error message from Route 53.
2014-02-21 19:36:22 -08:00
Gianluca Borello
bf79833c9d
Make sure droplet deletion works even when idempotency is achieved using 'name' and 'unique_name' rather than 'id'
2014-02-20 22:17:55 -08:00
James Cammarata
2157880029
Adding the backup destination to the resut dictionary for lineinfile
2014-02-20 13:31:54 -05:00
Matt Jeffery
8131feaade
Normalise the module name when comparing against the module names in /proc/modules.
2014-02-20 16:54:33 +00:00
Daniel Jaouen
6748ef121b
Update homebrew documentation.
2014-02-19 19:07:43 -05:00
Daniel Jaouen
e3a39837e1
Add back homebrew install_options
parameter.
2014-02-19 19:07:43 -05:00
Daniel Jaouen
155f6e4dd3
Update homebrew documentation.
2014-02-19 19:07:43 -05:00
Daniel Jaouen
097ce84336
Fix homebrew linked/unlinked output.
2014-02-19 19:07:42 -05:00
Daniel Jaouen
91ac44a5bb
Fix linked/unlinked states.
2014-02-19 19:07:42 -05:00
Daniel Jaouen
02694b80de
Update homebrew module.
2014-02-19 19:07:42 -05:00
Daniel Jaouen
911a3930a6
homebrew_cask: check err instead of out for "nothing to list".
2014-02-19 19:07:00 -05:00
Daniel Jaouen
55f636675c
homebrew_cask: return False instead of True when nothing to list.
2014-02-19 19:07:00 -05:00
Daniel Jaouen
8a612ba5d4
Handle homebrew_cask "nothing to list" corner case.
2014-02-19 19:07:00 -05:00
Daniel Jaouen
f7c3847391
Add module homebrew_cask
2014-02-19 19:07:00 -05:00
Michael DeHaan
d5c7290b93
Merge pull request #6066 from jsmartin/riak_module_fix
...
Properly fetching the riak version
2014-02-19 16:51:04 -05:00
James Laska
dbd3194e9c
Resolves issue#6067 by allowing exact_count=0
2014-02-19 16:29:15 -05:00
muffl0n
b0f00cc097
already call expanduser in action_plugin
2014-02-19 21:41:57 +01:00
James Martin
0e3356c40e
Properly fetching the riak version, and properly setting the python interpreter.
2014-02-19 12:12:02 -05:00
Jan-Piet Mens
01e1991baa
module update: mqtt notification now uses Paho as mosquitto.py being deprecated
2014-02-19 14:53:45 +01:00
C. Morgan Hamill
5776c95497
Add 'vgoptions' parameter to lvg module.
...
Allows specifying extra flags to pass to `vgcreate`.
2014-02-18 15:20:12 -05:00
Michael DeHaan
30611eaac5
Merge pull request #6036 from mxxcon/patch-1
...
docs_pull_request: Add parameters highlighting
2014-02-18 13:58:44 -05:00
Michael DeHaan
6b2bbbb9ff
Merge pull request #6045 from garaden/pypi_mirrors_gone
...
Set use_mirrors default to "no" for the pip module
2014-02-18 13:58:11 -05:00
Michael DeHaan
dc3ca7b37e
Merge pull request #6051 from illenseer/devel
...
Fix zfs create command for properties with spaces
2014-02-18 13:54:47 -05:00
Brian Coca
310b23ee8d
removed with
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2014-02-18 12:33:48 -05:00
James Cammarata
8880819395
Merge branch 'devel' of https://github.com/mtpereira/ansible into mtpereira-devel
2014-02-18 10:33:30 -06:00
Matthew Phipps
de99cc6fbf
Remove use_mirrors from pip module
...
PyPI moved to a CDN on 2013-05-26, so mirrors are now largely
unnecessary and pip removed the functionality in 1.5. More importantly
(and why I wrote this request): on 2014-02-15 the mirror directory was
taken offline, so mirrors may not work anymore even for pip versions
that support them.
2014-02-18 10:49:22 -05:00
Matthew Phipps
63ff6c8493
pip module wasn't adding -e when using VCS
2014-02-18 10:39:51 -05:00
jeromew
7a14cb61c4
Add creates= and removes= to the script: action
2014-02-18 12:52:09 +00:00
Nils Pascal Illenseer
858004984b
Fix zfs create command for properties with spaces
...
If a property value contains one or more spaces, the zfs command will fail.
With value quoted this behavior is fixed.
2014-02-18 11:30:17 +01:00
James Cammarata
daa3253b52
Merge branch 'devel' of https://github.com/calebbrown/ansible into calebbrown-devel
2014-02-17 15:38:56 -06:00
James Cammarata
9c9a940af6
Merge branch 'fix-5679' of https://github.com/jirutka/ansible into jirutka-fix-5679
2014-02-17 14:54:29 -06:00
Richard C Isaacson
7d670f8308
Merge remote-tracking branch 'berendt/fixing_permissions' into pull_4703
2014-02-17 11:46:23 -06:00
James Cammarata
1544c93bf2
Merge branch 'fix-postgres_user_to_understand_pg_namespaces' of https://github.com/alanfairless/ansible into alanfairless-fix-postgres_user_to_understand_pg_namespaces
2014-02-17 10:04:12 -06:00
James Cammarata
87bf16930e
Merge branch 'postgres_alter_role' of https://github.com/jinnko/ansible into jinnko-postgres_alter_role
...
Conflicts:
library/database/postgresql_user
2014-02-17 09:57:31 -06:00
mxxcon
4e4be3edc0
docs_pull_request: Add parameters highlighting
...
Added highlighting to parameter references in docs so that they standout a bit better.
2014-02-15 23:26:21 -05:00
Michael DeHaan
56befa9468
Document ansible_managed changing the template.
2014-02-15 14:13:42 -05:00
Michael DeHaan
6f9ca7cfa5
Some minor docs corrections.
2014-02-15 14:05:42 -05:00
James Cammarata
9dd9487692
Merge branch 'mohangk-fix_rds_modify_security_group' into devel
2014-02-15 09:34:46 -06:00
James Cammarata
7eb2a4c290
Merge branch 'fix_rds_modify_security_group' of https://github.com/mohangk/ansible into mohangk-fix_rds_modify_security_group
2014-02-14 14:43:42 -06:00
Bruce Pennypacker
899811f339
Added wait_timeout parameter
2014-02-14 20:16:58 +00:00
Richard Isaacson
bab91f9ed8
Merge pull request #6015 from angstwad/docfix
...
Spelling correction.
2014-02-14 11:04:44 -06:00
Richard Isaacson
ffeb507761
Merge pull request #5645 from resmo/fix/apt_pkg_version
...
apt: fixed pkg=<name>=<version> fails if package is not yet installed.
Tested and it fixes the problem on more recent versions of apt.
2014-02-14 11:01:35 -06:00
Paul Durivage
0dbd5d3e18
Spelling correction
2014-02-14 10:47:27 -06:00
Amir H. Hajizamani
cf5b1620b7
Remove superfluous/invalid quote
...
Allow the example to be copy-pasted with minimal confusion about the error.
2014-02-14 16:44:55 +00:00
Peter Gehres
c427a829a0
Adding better failure output for chkconfig failures rather than
...
just saying that the service name is unknown
2014-02-13 23:05:00 -08:00
Peter Gehres
b5761750c4
Adding the region to the output of the ec2 module's creation of a new instance.
2014-02-13 22:40:49 -08:00
Michael DeHaan
c91ceddfac
Add the start of an integration test structure using Ansible playbooks, also added an assert action plugin to make writing those easier.
2014-02-13 18:28:29 -05:00
James Cammarata
0d79132757
Merge pull request #5998 from jimi-c/issue_3978_boto_ssl_cert_validation
...
Adding 'validate_certs' option to EC2 modules
2014-02-13 14:42:30 -06:00
James Cammarata
fdb7c733c1
Updating CHANGELOG for the new validate_certs feature
...
Also removing validate_cert option from the cloudformation module docs,
as it does not use the standard ec2 connection.
2014-02-13 14:40:39 -06:00
Richard Isaacson
686f87e42e
Merge pull request #5944 from sean-/devel
...
Fix broken behavior when removing all auxiliary groups from a user. See #5933 for more details.
Tests by hand correct and passes "make clean tests".
2014-02-13 13:54:38 -06:00
James Cammarata
056d54ebd3
Adding 'validate_certs' option to EC2 modules
...
When disabled, the boto connection will be instantiated without validating
the SSL certificate from the target endpoint. This allows the modules to connect
to Eucalyptus instances running with self-signed certs without errors.
Fixes #3978
2014-02-13 12:32:49 -06:00
Isao Jonas
6f44e7b039
add security groups to elb_lb
2014-02-13 10:57:41 -06:00
Will Thames
c8127ea874
ec2 module fails when state is not absent
...
tagged_instances is initialised in a scope not visible
when state is not absent.
2014-02-13 19:51:33 +10:00
Pavel Antonov
e02cf2aab7
Refactore unused code
2014-02-12 17:06:58 -05:00
Pavel Antonov
dddd4b2522
Added modules description and examples
2014-02-12 17:06:58 -05:00
Pavel Antonov
df41ed90b8
Docker supports links and port binding. Added docker_image module
2014-02-12 17:06:58 -05:00
Drew
44578e030d
Fix proper defaulting/required of 'state' for gem module
...
The docs for 'gem' say state is required, but the actual code says it's not required.
If it's not included (and there's no default) then the if block falls through with no changes and no errors (it neither adds nor removes the gem).
This change synchronizes the docs with the code. It also adds the sane default of state=present, which is consistent with all other modules with the 'state' field.
2014-02-12 16:01:40 -06:00
Michael DeHaan
0cdf8d3162
Merge pull request #5981 from angstwad/docfix
...
Documentation updates to rax_files, rax_files_objects
2014-02-12 14:21:10 -05:00
James Cammarata
a1b7a93b69
Modified cloudformation module to use common ec2 module functions
...
Fixes #3688
2014-02-12 12:54:47 -06:00
Michael DeHaan
e89dafc6c1
Merge pull request #5039 from bpennypacker/airbrake
...
airbrake: Made the reporting URL an optional parameter
2014-02-12 12:32:28 -05:00
Paul Durivage
f18db0dd20
Doc updates
2014-02-12 11:22:15 -06:00
Robin Roth
660fa9183c
remove check for version string
...
this check does not get used anywhere and is not needed as zypper/rpm can handle version information directly
2014-02-12 17:14:43 +01:00
Richard Isaacson
eb4a730933
Merge pull request #5969 from risaacson/pull_5136
...
Updates for the unarchive module and action_plugin.
2014-02-12 10:10:25 -06:00
Richard C Isaacson
598b9c6b7c
Cleanup per notes.
...
Some small changes to per notes from @mpdehann.
2014-02-12 10:01:10 -06:00
Isao Jonas
1602a80d76
added elasticache vpc security group ids
2014-02-12 09:06:15 -06:00
Maykel Moya
811aa2611e
Add support for string values
...
The SET GLOBAL statement requires properly quoting of values. For example, the
following correct queries will fail if quotes are toggled:
mysql> SET GLOBAL innodb_lru_scan_depth = 2000;
mysql> SET GLOBAL master_info_repository = "TABLE";
`mysql_variable` module doesn't quote the value argument, therefore
string values will fail.
# this task will pass, 2000 is passed without quotes
- name: set a numeric value
mysql_variable: variable=innodb_lru_scan_depth value=2000
# this task will fail, TABLE is passed without quotes
- name: set a string value
mysql_variable: variable=master_info_repository value=TABLE
With this patch prepared statements are used. Proper quoting will be
done automatically based on the type of the variables thus an attempt
to convert to int, then to float is done in first place.
Booleans values, ie: ON, OFF, are not specially handled because they
can be quoted. For example, the following queries are correct and
equivalent, they all set _innodb_file_per_table_ to logical _True_:
mysql> SET GLOBAL innodb_file_per_table = "ON";
mysql> SET GLOBAL innodb_file_per_table = ON;
mysql> SET GLOBAL innodb_file_per_table = 1;
Tested in mysql 5.5 and 5.6.
2014-02-12 12:44:28 +01:00
Richard C Isaacson
cb7c2b7524
Updates for the unarchive module and action_plugin.
...
There is a bit going on with the changes here. Most of the changes are cleanup of files so that they line up with the standard files.
PR #5136 was merged into the current devel and brought up to working order. A few bug fixes had to be done to get the code to test correctly. Thanks out to @pib!
Issue #5431 was not able to be confirmed as it behaved as expected with a sudo user.
Tests were added via a playbook with archive files to verify functionality.
All tests fire clean including custom playbooks across multiple linux and solaris systems.
2014-02-12 01:57:00 -06:00
Richard C Isaacson
e6c9705058
Merge remote-tracking branch 'pib/unarchive_remote' into pull_5136
2014-02-11 22:55:34 -06:00
Michael DeHaan
f07091ed69
Merge pull request #5962 from sivel/rax-facts-docs-update
...
rax_facts and rax_keypair modules: update docs
2014-02-11 16:39:59 -05:00
Matt Martz
e8952a5a99
The OpenStack auth attributes apply to rax_keypair also
2014-02-11 14:25:13 -06:00
jctanner
fe94c0cd05
Merge pull request #5957 from sivel/rax-no-default-disk-config
...
rax module: Don't set a default for disk_config
2014-02-11 11:55:06 -05:00
Christopher H. Laco
471b1a7a47
Add rax_identity module
...
For some tasks, I need to drop the username/api_key into configuration
files. Rather than rely on how I'm calling the rax modules. It seemed
more appropriate to authenticate against Rackspace and return the wealth
of information contained in the pyrax identity payload with other
modules/templates.
2014-02-10 22:40:38 -05:00
Matt Martz
8095aa6584
Don't set a default disk_config. Defaulting to 'auto', causes issues with new images
2014-02-10 16:12:32 -06:00
Sean Chittenden
5e0cf6663a
Fix broken behavior when removing all auxiliary groups from a user
...
(e.g. 'groups=' in the user module).
2014-02-10 13:08:53 -08:00
Matt Martz
bd3c7c3efa
The name parameter for search_opts is a regex string, so make sure we include start and end of string characters
2014-02-10 13:18:03 -06:00
zimbatm
4aaf8f9a4c
library/digital_ocean: Adds the missing backups_enabled create option
2014-02-10 17:35:10 +00:00
Baptiste Lafontaine
22468e9455
Adding example for svn export
2014-02-10 15:04:17 +01:00
Mohan Krishnan
fb3c8c90e5
Allow explict setting of vpc_security_groups to allow modification of security groups of RDS instances within a VPC
2014-02-10 14:01:45 +07:00
Brian Coca
f475de2316
hopefully last batch of fixes
...
- removed previous 'typification' of input as it needs it is typed by
module as strings and needs to be output as strings, making it
useless.
- now checks for vtype and value against None when question is specified
- simplified set_selections as vtype and value should have a string
value going in.
- added example of querying questions for a package
- added module requirement of question,vtype and value being required
together.
2014-02-09 20:47:01 -05:00
Brian Coca
a1de284dba
made changes as per feedback:
...
- field names are more consistent with debconf
- values are now 'booleanized' or accepted as list/set objects when
pertinent
- updated docs to reflect all of the above and debconf cli tools
required
2014-02-09 17:46:18 -05:00
Michael DeHaan
d3c1b8de78
Merge pull request #5883 from amirhhz/improve-ec2-module-docs
...
Improve ec2 module docs
2014-02-09 14:07:35 -05:00
Scott Anderson
baf508a379
Change standard AWS access and secret key parameter names to aws_access_key and aws_secret_key. Fixes an authentication problem with the rds module and standardizes the naming convention on something more encompassing than ec2_*_key.
2014-02-08 18:35:26 -05:00
Matt Saunders
674969a7d8
Added user_data parameter to nova_compute module - currently no file parsing just text - Re issue #4992
2014-02-08 22:47:03 +00:00
Jon Chen
970997c764
fix linode typo
2014-02-07 20:47:57 -05:00
Lorin Hochstein
4a7c6a9727
apt module: Add support for installing .deb packages
...
Support installing .deb packages from the local filesystem.
apt: deb=/tmp/mypackage.deb
2014-02-07 20:45:26 -05:00
Joey Baker
95545ca689
indent err
2014-02-07 15:50:44 -08:00
Joey Baker
5655ffa8bf
outdated needed to see set changed
2014-02-07 15:50:17 -08:00
Joey Baker
242bfd8c68
NPM install latest made more effecient
...
`npm install` is smart enough to only update updated modules. Checking for `outdated` and running `update` repeats the same process 2x.
2014-02-07 15:41:21 -08:00
Jesse Keating
4593e3c357
Make sure requested version tag gets downloaded
...
There is a subtle bug in how the git module currently works. If the
version you request is a tag name, and you've already got the repo
cloned, and the tag name is a new tag, but refers to the already checked
out working copy, the git module would exit early without change. This
is bad as it means the new tag ref was not fetched and could not be used
in later tasks.
This change will check if the version is a remote tag, and if the tag
doesn't exist locally. If that is true, it'll do a fetch.
The activity could still be seen as not a change, because the working
copy won't be updated, if the new tag refers to the already checked out
copy, but that's not different than before and can be fixed as a more
comprehensive overhaul of tracking change in the git module.
2014-02-07 14:13:04 -08:00
Richard Isaacson
66967bde14
Merge pull request #5905 from artursvonda/update-postgresql-docs
...
Added port documentation to postgresql_db and postgresql_user.
2014-02-07 14:31:09 -06:00
James Tanner
a62af82757
Make ec2 exact_count and count mutually exclusive
2014-02-07 13:42:43 -05:00
James Tanner
70ebb05190
Return a tagged_instances list for hosts that matched the count_tag
2014-02-07 13:07:34 -05:00
Richard Isaacson
5a15762739
Merge pull request #5826 from romeotheriault/fix_follow_redirects
...
A fix for uri module regarding following redirects. The old behavior would follow redirects either way. This change clarifies the functionality and makes it a bit more explicit. Comparing the old behavior to the new 'yes' == 'all', 'no' == 'safe' and now 'no' will not follow any redirects. Historic behavior is still supported and documented with a push to the new values.
2014-02-07 11:36:51 -06:00
Arturs Vonda
6d85082586
Added port documentation to postgresql_db and postgresql_user
2014-02-07 18:27:55 +02:00
jctanner
6e7f684958
Merge pull request #5901 from jctanner/ec2_tag_exact_count_2
...
Add exact_count and count_tag to the ec2 module.
2014-02-07 10:57:01 -05:00
James Tanner
f101768a9d
Make an example that sets the instance Names
2014-02-07 10:49:13 -05:00
James Tanner
005ef837d9
Update docstrings
2014-02-07 10:34:45 -05:00
Mike Grozak
f386e137fe
Updated the force parameter description; added one example how to create the symlinks pointing to non-absolute paths
2014-02-07 14:29:20 +01:00
Mike Grozak
d3b544e842
Found a way how to have symlinks towards files without absolute paths in prefixes; fixed incorrect force setting on the hard links, which can not point to non-existing files
2014-02-07 14:13:41 +01:00
James Tanner
fd919062cb
Add exact_count and count_tag to the ec2 module.
2014-02-06 23:25:57 -05:00
Afterburn
398c71c1b7
small change to docs
2014-02-06 20:35:42 -07:00
Afterburn
2fe00ac8c9
small change to docs
2014-02-06 20:34:38 -07:00
Brian Coca
0233584343
fixed main() issue created in prev fix, now values are empty string if they were None
...
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
2014-02-06 11:59:37 -05:00
Mike Grozak
2b4688a0bd
Started the development of the 'chdir' functionality for file module - creation symlinks without the base directory prefix
2014-02-06 17:20:32 +01:00
jctanner
0bc0315171
Merge pull request #5880 from willthames/ec2_modules_refactor
...
Create a common EC2 connection argument spec for EC2 modules
2014-02-06 11:08:09 -05:00
Will Thames
7600c664fe
Create a common EC2 connection argument spec for EC2 modules
...
Refactor the currently well-factored ec2 modules (i.e. those that already use ec2_connect) to
have a common argument spec. The idea is that new modules can use this spec without duplication
of code, and that new functionality can be added to the ec2 connection code (e.g. security
token argument)
2014-02-06 15:27:41 +10:00
willthames
27fc3b8006
Module to create EC2 snapshots
...
Two methods of creating a snapshot
* use volume_id
* use device_name and instance_id
The latter is more useful with inventory
2014-02-06 09:44:43 +10:00
jctanner
a1d2b5f257
Merge pull request #5363 from bcoca/acl_improved
...
acl module: acl now supports 'default'
2014-02-05 18:40:59 -05:00
Brian Coca
54a79bfc75
fixed docstring and changed type to etype avoiding python builtin
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2014-02-05 18:36:29 -05:00
Brian Coca
de956c57fe
changes names to name in example
2014-02-05 18:28:17 -05:00
Brian Coca
453d473728
fixes as per feedback
2014-02-05 18:08:01 -05:00
Richard Isaacson
66f47c2096
Merge pull request #5891 from offby1/devel
...
Clarify doc for get_url
2014-02-05 15:49:31 -06:00
James Tanner
7268fe43e7
Use new syntax for module snippets in rabbitmq_policy and update changelog
2014-02-05 16:21:18 -05:00
jctanner
cda3f06117
Merge pull request #4957 from retr0h/rabbitmq_policy
...
Added module to handle rabbit policies [1]
2014-02-05 16:07:38 -05:00
jctanner
7fcf6cebfe
Merge pull request #5881 from willthames/ec2_keys
...
Minor tweaks to simplify examples and documentation
2014-02-05 15:50:19 -05:00
jctanner
c13161993a
Merge pull request #5410 from willthames/rds_snapshot
...
rds module: add snapshot capabilities
2014-02-05 15:23:08 -05:00
Eric Hanchrow
7e557663c2
Clarify doc for get_url
...
Move a sentence from doc for the "force" option to that for the "dest" option.
2014-02-05 10:58:48 -08:00
James Cammarata
77d5a18392
When force=yes, get_url should always download the specified file
...
This is accomplished by not setting the If-Modified-Since header,
and setting "cache-control: no-cache" instead. Note that if the
file content has not changed, the module will still report that
changed=false, as the md5's of the tmp file and existing file are
compared before swapping
Fixes #5104
2014-02-05 11:56:05 -06:00
jctanner
f50f29f304
Merge pull request #5051 from deontologician/patch-1
...
Added -FF flag to rsync invocation in synchronize
2014-02-05 12:02:48 -05:00
jctanner
825a20780f
Merge pull request #5127 from ovcharenko/patches
...
synchronize module: Added existing_only options to skip creating new files on receiver
2014-02-05 11:49:05 -05:00
jctanner
1f9de0c076
Merge pull request #5187 from 42wim/devel
...
Add support for --copy-links in synchronize
2014-02-05 11:26:08 -05:00
Tom Dymond
486d14cb2d
Reworked PR to avoid repeating the command
2014-02-05 15:35:24 +00:00
Amir H. Hajizamani
843f4e7d7c
Neaten up example YAML with 2-space indenting
2014-02-05 15:14:44 +00:00
Amir H. Hajizamani
7c38e8a225
Example should put instance_ids list in quotes for avoid YAML error
2014-02-05 15:12:41 +00:00
Amir H. Hajizamani
b0bc2bd86a
Fix missing quote mark in route53 doc example
2014-02-05 13:59:31 +00:00
willthames
e0c245f1ae
Minor tweaks to simplify examples and documentation
...
Made a few things more consistent with the bulk of the other EC2
modules and removed an unnecessary check that is handled by
AnsibleModule
2014-02-05 22:25:44 +10:00
jctanner
a877b8b030
Merge pull request #5624 from mattsoftware/route53_ttl
...
Enable changes to ttl of a record to be propogated to route53
2014-02-04 11:11:44 -08:00
jctanner
5967b463c9
Merge pull request #5554 from ttarabul/devel
...
Use /etc/rc.conf.local for sevice configuration on FreeBSD
2014-02-04 10:59:19 -08:00
Tom Dymond
cf80f9b68b
Add option to enable the sysctl -e option
2014-02-04 18:19:28 +00:00
George Miroshnykov
66b2d55a18
Add idempotency to mongodb_user module
2014-02-04 13:56:35 +02:00
Matthew Jones
31ac3e71df
Allow strings containing single and double quotes to be used as passwords for postgres_user
2014-02-03 17:07:17 -05:00
Timur Batyrshin
658c15930e
reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 ( #5852 )
2014-02-03 13:00:40 -06:00
Richard C Isaacson
292d84165e
Clean up stray space at the end of a line after a period.
2014-02-03 11:52:37 -06:00
Richard Isaacson
f5ed7e1f0a
Merge pull request #5828 from mxxcon/patch-1
...
Updated htpasswd docs to have choices for crypt_scheme
2014-02-03 09:46:10 -08:00
Pedro Romano
30c8f514a2
Allow the 'PATCH' method in the 'uri' module since 'httplib2' allows it
...
and some APIs require it.
2014-02-02 20:53:52 +00:00
Timur Batyrshin
db173453ba
further compatibility with older versions of python-apt ( #5853 )
2014-02-02 23:15:19 +04:00
James Cammarata
fcb760c36c
Merge pull request #5843 from jimi-c/issue_4088
...
Adding no_log: capability for tasks
2014-02-01 04:36:29 -08:00
James Cammarata
75e3b59bbd
Adding no_log: capability for tasks
...
Fixes #4088
2014-01-31 16:58:46 -06:00
Michael Porter
8ccbf13a13
( #5822 ) Use mkstemp
to open a temporary file (as NamedTemporaryFile doesn't take a delete
argument in Python < 2.6)
2014-01-30 19:39:39 -05:00
Michael DeHaan
a1afd6987c
Update copy
...
Update copy documentation to reference synchronize module
2014-01-30 17:43:40 -05:00
James Cammarata
9574f89471
Detect remote_user change in accelerate daemon and allow a restart
...
Fixes #5812
2014-01-30 14:40:41 -06:00
Eugene Brevdo
553b42516e
ec2_vol supports name / id to mount volume on instance
...
* volume_size no longer required if name/id are provided
* id is volume-id
* name is volume Name tag
* special checking is provided
2014-01-30 10:27:40 -08:00
jctanner
086f879df9
Merge pull request #5823 from kustodian/authorized_keys
...
Updated authorized_key module documentation regarding manage_dir
2014-01-30 07:01:41 -08:00
Matt Martz
7498f212fc
Update docs for rax_facts to include parameters added for other OpenStack clouds
2014-01-30 07:59:31 -07:00
mxxcon
ffac1b5c7f
Updated docs to have choices for crypt_scheme
2014-01-30 01:05:05 -05:00
jctanner
086cf0acb7
Merge pull request #5745 from angstwad/cf-module-revert
...
Add Rackspace Cloud Files module
2014-01-29 17:01:57 -08:00
jctanner
434c78f263
Merge pull request #5744 from angstwad/revert
...
Add Rackspace Cloud Files containers module
2014-01-29 16:36:42 -08:00
jctanner
203a66eb48
Merge pull request #4865 from claco/rax_queue
...
Add rax_queue module to create/delete Rackspace Cloud Queues
2014-01-29 16:28:43 -08:00
jctanner
360f06b41d
Merge pull request #5806 from sivel/rax-mod-utils-improvements
...
Rax mod utils improvements
2014-01-29 16:17:06 -08:00
jctanner
6c1f75c688
Merge pull request #5132 from sivel/rax-keypair
...
Add rax_keypair module
2014-01-29 16:15:29 -08:00
jctanner
6265128c9e
Merge pull request #4941 from sivel/rax-clb-shared-vip
...
Add ability to specify a VirtualIP ID for sharing a VIP with another LB
2014-01-29 16:14:29 -08:00
Manuel Tiago Pereira
e563f847ec
Fixes #5819 : Added --executables to gem uninstall command.
2014-01-30 00:09:28 +00:00
Romeo Theriault
8ea59e8ce5
fix following redirects
2014-01-29 14:04:53 -10:00
kustodian
a7839208c7
Updated authorized_key module documentation regarding manage_dir
...
Added a warning in the documentation about manage_dir when selecting an alternate directory for authorized_keys
2014-01-29 23:39:43 +01:00
Wim
06576fed25
Add support for --copy-links
2014-01-29 23:05:51 +01:00
James Cammarata
cdc34477be
Merge branch 'devel' of https://github.com/aclindsa/ansible into aclindsa-devel
2014-01-29 14:11:51 -06:00
Richard Isaacson
c997f03b95
Merge pull request #5821 from risaacson/issue5781
...
If a executable is defined but not found the module should fail.
2014-01-29 11:25:35 -08:00
Aaron Lindsay
59ac969d2b
Add move_home option to user module
2014-01-29 14:10:26 -05:00
Richard C Isaacson
f0c4dace8d
If a executable is defined but not found the module should fail. Addresses https://github.com/ansible/ansible/issues/5781 .
2014-01-29 13:09:58 -06:00
jctanner
48c477ffc8
Merge pull request #5790 from geerlingguy/patch-3
...
Mention shell module in command documentation
2014-01-29 09:57:16 -08:00
jctanner
b411cce6f3
Merge pull request #5784 from geerlingguy/patch-1
...
Update wait_for documentation - remove extra quote
2014-01-29 09:51:48 -08:00
Michael DeHaan
83f43b82ad
ansible -> ansibleworks
2014-01-28 20:29:41 -05:00
Richard C Isaacson
7a2df2733f
Tested implementation adding action option for (add, delete, unique).
2014-01-28 20:29:41 -05:00
Richard C Isaacson
c198217900
Rough cut implementation based on @resmo's comments.
2014-01-28 20:29:41 -05:00
Richard C Isaacson
cd871384de
Rough cut implementation based on @resmo's comments.
2014-01-28 20:29:41 -05:00
Richard C Isaacson
b00939acff
Change to dynamically pick up the command from the PATH.
2014-01-28 20:29:41 -05:00
Richard C Isaacson
9650c118cf
Formating and syntax fixes that were pointed out during code review.
2014-01-28 20:29:41 -05:00
Richard C Isaacson
ec04e30186
Added user option.
2014-01-28 20:29:41 -05:00
Richard C Isaacson
3a7e579bc2
First commit of the at module being very basic.
2014-01-28 20:29:41 -05:00
Matt Martz
07c76d7ec9
Update rax module DOCUMENTATION with new auth options
2014-01-28 13:59:49 -06:00
Brian Coca
46dfe07181
be permissive with BSD with service enabled upper/lower/mixed cases
...
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
2014-01-28 14:49:57 -05:00
James Tanner
3ec043ec17
Fixes #5750 Fail on missing ~/.ssh and ignore accept_hostkey if stricthoskeychecking is off
2014-01-28 11:49:35 -05:00
James Tanner
1584d8f01b
Add ec2_vol snapshot example from #4189
2014-01-28 09:58:13 -05:00
jctanner
fca8ec3d3c
Merge pull request #4508 from willthames/ec2_vol_snapshot
...
Added ability to create EC2 volume from snapshot
2014-01-28 06:22:14 -08:00
James Tanner
5cbe24913f
Fix start/stop example in ec2
2014-01-27 17:48:42 -05:00
James Tanner
1641361057
Merge branch 'feat/ec2_start_stop' of git://github.com/Geryon/ansible into Geryon-feat/ec2_start_stop
2014-01-27 17:39:24 -05:00
Jeff Geerling
bb2cdb11fd
Mention shell module in command documentation
...
Users who use the command module for pretty much all shell commands may be stymied when they try using a command with <, >, $VAR, etc., and not know that they can use the `shell` module instead. This documentation fix clarifies this.
2014-01-27 14:56:52 -06:00
jctanner
b8d3c0f865
Merge pull request #5506 from mohangk/fix_elb_register_new_instance
...
Fix exception being thrown for new instance registration with ELB
2014-01-27 12:19:44 -08:00
jctanner
ff6b44e3e4
Merge pull request #5787 from jirutka/fix-sysctl-bool
...
sysctl: parse bool value as 0/1 and refactor a little bit
2014-01-27 11:56:33 -08:00
jctanner
821858ed08
Merge pull request #5380 from dhml/devel
...
ec2_group: rules can't reference containing group fix #5309
2014-01-27 11:41:21 -08:00
Jakub Jirutka
8c9a63bcd0
sysctl: parse bool value as 0/1 and refactor a little bit
2014-01-27 20:26:11 +01:00
Jeff Geerling
40e5f641e4
Update wait_for documentation - remove extra quote
...
The timeout is in seconds (int), and the extra quote at the end could throw someone off if they're copying and pasting the example.
2014-01-27 12:09:54 -06:00
Mohan Krishnan
0f95961e33
Fix exception being thrown for new instance
...
Currently if we are trying to register an instance that has not yet
been registered with the elb an exception is thrown.
2014-01-27 20:18:55 +07:00
Matthew Leventi
07a388e567
adding the ability to change redis configuration
2014-01-25 22:20:39 -08:00
someda
54858279a6
Add typetalk notification module
2014-01-25 15:11:13 +09:00
willthames
de659af82b
Added the ability to add volumes to instances at creation time
...
This allows a volume to be cloned from a snapshot, a brand new
volume to be created, or an ephemeral volumes to be associated
at time of instance creation.
This avoids any race conditions associated with creating extra volumes
after instance creation (e.g. writes happening before the volume is
mounted).
In addition, this allows the root volume to be edited
2014-01-25 12:38:41 +10:00
Dave Rawks
e545d1026a
Correct sleep calls
...
Looks like we import "from time import sleep" but were calling "time.sleep" which is scoped into the wrong namespace.
2014-01-24 15:39:02 -08:00
James Tanner
17f0c9e477
Refactor ec2_elb_lb to use shared module snippet code
2014-01-24 15:33:41 -05:00
James Tanner
512c02b7d2
Fix missing description key
2014-01-24 15:13:01 -05:00
James Tanner
53b7a495ca
Merge branch 'add_ec2_elb_lb_module' of git://github.com/jsdalton/ansible into jsdalton-add_ec2_elb_lb_module
2014-01-24 15:11:54 -05:00
Christopher H. Laco
745a480e5c
Add rax_queue module to create/delete Rackspace Cloud Queues
2014-01-24 11:14:25 -05:00
Paul Durivage
2090e75e12
Use dict constructors
2014-01-23 22:05:46 -06:00
Paul Durivage
d8bf5033ec
Fix revert artifacts, doc update
2014-01-23 22:05:36 -06:00
James Tanner
4b80156267
Standardize some parameters in ec2_key
2014-01-23 22:22:09 -05:00
jctanner
cbb2a4ce9b
Merge pull request #5256 from zbal/ec2_keys
...
Add ec2_key module.
2014-01-23 19:14:46 -08:00
Paul Durivage
b24474ae58
Remove dict comprehension; use dict constructor
2014-01-23 21:05:52 -06:00
Paul Durivage
0a0ed538b2
Resolve revert conflicts
2014-01-23 20:43:31 -06:00
Paul Durivage
0cabb2fcc4
Imperfect revert w/ artifacts.
...
Revert "Revert "Merge pull request #5540 from angstwad/cf-container-module""
This reverts commit c3408f205e
.
Conflicts:
library/cloud/rax_files
2014-01-23 20:31:44 -06:00
Paul Durivage
95a436980a
Doc updates; fix YAML problems
2014-01-23 19:19:35 -06:00
jctanner
3c455685bc
Merge pull request #5603 from willthames/ec2_keypair_not_mandatory
...
key_name is not required when creating ec2 instances
2014-01-23 17:06:23 -08:00
Paul Durivage
48b09d85b4
Revert "Revert "Merge pull request #5496 from angstwad/cf-module""
...
This reverts commit b11d62270f
.
Conflicts:
library/cloud/rax_files_objects
2014-01-23 18:57:22 -06:00
Paul Durivage
d298d3bfb4
Update documentation; fix YAML problems
2014-01-23 18:56:00 -06:00
James Tanner
b11d62270f
Revert "Merge pull request #5496 from angstwad/cf-module"
...
This reverts commit a807e3b9c8
, reversing
changes made to df8ecdeded
.
2014-01-23 18:27:49 -05:00
James Tanner
c3408f205e
Revert "Merge pull request #5540 from angstwad/cf-container-module"
...
This reverts commit bedc616f74
, reversing
changes made to a807e3b9c8
.
2014-01-23 18:27:33 -05:00
James Tanner
bec35cc0c1
Revert "Fix docstrings in rax_files_objects"
...
This reverts commit e759832dd6
.
2014-01-23 18:27:22 -05:00
James Tanner
e759832dd6
Fix docstrings in rax_files_objects
2014-01-23 18:10:17 -05:00
jctanner
bedc616f74
Merge pull request #5540 from angstwad/cf-container-module
...
Add module support for Rackspace Cloud Files Containers
2014-01-23 14:46:11 -08:00
jctanner
a807e3b9c8
Merge pull request #5496 from angstwad/cf-module
...
Module support for Rackspace Cloud Files
2014-01-23 14:26:40 -08:00
jctanner
df8ecdeded
Merge pull request #5210 from sivel/rax-dns-record
...
rax_dns_record: Add rax_dns_record module
2014-01-23 14:13:38 -08:00
jctanner
339ab7b077
Merge pull request #5208 from sivel/rax-dns
...
Add rax_dns module
2014-01-23 14:03:44 -08:00
James Tanner
86ba8f4dff
Fix git module parameters to conform to code standards
2014-01-23 16:44:17 -05:00
James Tanner
18050d50ec
Fixes #4108 Add sshopts and keyfile parameters to the git module
2014-01-23 16:22:43 -05:00
Caleb Brown
19f7db3065
Fix a bug in "hg" module so that pull
is not set to a version.
...
There is a bug in the `hg` module where if a `tag` is used it won't
properly be able to update to it.
This problem is exhibited on repository where a tag is moved from an
older commit to a newer commit.
2014-01-23 15:56:36 +11:00
James Cammarata
1ca6e4bbb1
Adding a check for pending tranasctions to the yum module
...
Fixes #4649
2014-01-22 15:19:19 -06:00
Thoai Nguyen
5c4bb5730e
reorder usermod options
2014-01-22 15:27:00 -05:00
Jakub Jirutka
88b7dc344c
Introduce module layman
2014-01-22 20:10:53 +01:00
jctanner
07b6d6ffd6
Merge pull request #5690 from sivel/rax-regex-fix
...
rax module: Fix regex match
2014-01-21 06:54:06 -08:00
jctanner
5e886b8ca6
Merge pull request #5699 from jpmens/un1
...
module unarchive: documentation typos
2014-01-21 06:36:49 -08:00
jctanner
62d96620e1
Merge pull request #5704 from zimbatm/default-grove-service
...
notify/grove: set the service to "ansible" by default
2014-01-21 06:30:32 -08:00
Rene Moser
a412eae9cd
digital_ocean: added requirements in DOCUMENTATION
2014-01-21 14:09:21 +01:00
zimbatm
fe4d203b9a
notify/grove: set the service to "ansible" by default
2014-01-21 12:44:21 +00:00
Dmitry Ivanov
62ef8dfbe0
[s3] Compatibility with fakes3.
2014-01-21 17:31:22 +07:00
Jan-Piet Mens
d0912b84ef
documentation typos
2014-01-21 09:03:14 +01:00
Matt Martz
89fbc64b60
Fix regex match, the printf match should work with 0 or more numeric padding characters, not 1 or more
2014-01-20 16:43:42 -06:00
Michael DeHaan
c91ba3a7c7
Merge pull request #5680 from biolds/devel
...
Mark stat module as supporting check_mode
2014-01-20 10:48:52 -08:00
jctanner
297a28aa79
Merge pull request #5333 from mvermaes/yum_fix
...
yum module: Attempt #2 to cause yum to fail on invalid url
2014-01-20 06:45:01 -08:00
jctanner
7b76ad9e62
Merge pull request #5676 from simonz05/bugfix-sysctl-multivalue2
...
Correctly compare values returned by 'sysctl -e -n'
2014-01-20 06:11:29 -08:00
Augustus Kling
c3f182bc9b
Fix error reporting in case locale-gen fails on non-Ubuntu systems.
2014-01-20 00:11:01 +01:00
Augustus Kling
1fb830fba6
Merge remote-tracking branch 'upstream/devel' into locale
2014-01-19 23:51:27 +01:00
Augustus Kling
6b75e75161
Handle install/uninstall of locales for Ubuntu, too.
2014-01-19 23:35:10 +01:00
Jakub Jirutka
012e3ae206
Fixes #5679 : lineinfile ignores newline in line argument
2014-01-19 02:24:26 +01:00
Laurent Defert
f93b951bdd
Mark stat module as supporting check_mode
2014-01-18 22:32:58 +01:00
Simon Zimmermann
3db808c840
correctly compare the values, better func name
2014-01-18 11:04:15 +01:00
Simon Zimmermann
055b404f13
Correctly compare values as returned from 'sysctl -e -n'
2014-01-18 10:50:24 +01:00
Simon Zimmermann
7495095496
fix str format error due to missing '%' in sysctl module
2014-01-17 22:31:12 +01:00
James Tanner
3bd99903a4
Fixes #5661 Handle null values for sysctl parameters
2014-01-17 11:30:07 -05:00
Michael DeHaan
2a46022bc7
Merge pull request #5658 from rishid/devel
...
Add support for Scientific Linux for hostname module
2014-01-16 17:55:24 -08:00
jctanner
450bb37c8c
Merge pull request #5655 from scottgilbert/devel
...
Allow keystring passed to authorized_key to contain blank lines and comments
2014-01-16 14:22:57 -08:00
James Tanner
19cb22b6df
Fixes #5656 quote values with multiple columns before calling
...
the sysctl command. Calling sysctl should also not be true by default
2014-01-16 16:30:13 -05:00
rishid
34f9349b5e
Add support for Scientific Linux for hostname module
...
hostname module was lacking support for Scientific Linux, this commit adds it.
2014-01-16 16:08:51 -05:00
Scott Gilbert
0aedd0c0b2
Allow keystring passed to authorized_key to contain blank lines and comments
2014-01-16 12:14:37 -06:00
James Tanner
2c39576e80
Remove unused variable from authorized_key
2014-01-16 11:46:06 -05:00
jctanner
1f1fa6c09a
Merge pull request #5322 from bcrochet/neutron-fip-select
...
quantum_* modules: Neutron name change, keeping backward compatibility
2014-01-16 08:37:38 -08:00
Rene Moser
849aab0a12
apt: fixed pkg=<name>=<version> fails if package is not yet installed.
...
Reported and patch provided by https://github.com/msolo . Closes GH-5625.
2014-01-16 11:05:12 +01:00
willthames
238da3cb02
ec2_elb module: Minor improvements to documentation
...
ELB(s) cause a weird formatting behaviour - it appears as EL**s**
Added choices documentation to the state option
2014-01-16 13:14:44 +10:00
James Tanner
e22af253bb
Fixes #5486 Keep authorized key options in tact and ordered
2014-01-15 17:10:10 -05:00
James Tanner
c627358c37
sysctl module: append newline character to lines in the file
2014-01-15 10:25:27 -05:00
Michael DeHaan
6f49642286
All modules should be using /usr/bin/python in the shebang as ansible_python_interpreter processes this (see FAQ).
...
Fixing for standardization purposes.
2014-01-15 09:52:17 -05:00
René Moser
0f2bc0dad8
subversion: use LANG=C to prevent regex failures
...
Fixes bug GH-5549.
2014-01-15 10:05:31 +01:00
Michael Vermaes
c55d144c50
Fail yum on invalid url with .rpm suffix
2014-01-15 12:20:31 +08:00
Matt Paine
d392e067bf
Enable changes to ttl of a record to be propogated to route53
2014-01-15 09:51:59 +10:00
jctanner
332d3d6a0e
Merge pull request #5490 from rgbj/devel
...
user module/OpenBSD: using login_class always makes status 'changed'
2014-01-14 14:44:51 -08:00
jctanner
7d09c97621
Merge pull request #5472 from RSpiertz/apt_repository
...
apt_repository: don't crash if default_file doesn't exist
2014-01-14 14:26:19 -08:00
jctanner
09f7b11d1d
Merge pull request #5435 from jkleckner/fix-mysql-dump-import
...
mysql_db module: make dump and import to use port argument
2014-01-14 13:06:33 -08:00
jctanner
6e39adb89e
Merge pull request #5426 from lichesser/debian_release_4565
...
setup module: Partial fix for #4565 , reporting Debian release version. Works only for Debian 7 and later
2014-01-14 13:00:08 -08:00
James Tanner
fbba0bb3fc
Fixes #5601 Do not append extra args when checking for pip command options
2014-01-14 14:22:37 -05:00
jctanner
2e1d92c2ec
Merge pull request #5141 from kisielk/hg
...
hg module: Don't modify hgrc when running purge
2014-01-14 10:24:37 -08:00
jctanner
e4d0ce5b08
Merge pull request #5383 from janitha/devel
...
Fixes #5381 bug when easy_install is used with virtualenv
2014-01-14 08:52:12 -08:00
jctanner
daf90e776e
Merge pull request #5349 from sergevanginderachter/httpmonbugfix
...
bigip_monitor_http: two small bug fixes
2014-01-14 08:31:30 -08:00
jctanner
48cebedae1
Merge pull request #5323 from zroger/django-manage-virtualenv-fix
...
django_manage module: need not require virtualenv in PATH
2014-01-14 08:02:36 -08:00
James Tanner
17c50cc81e
sysctl module: fail if reloading the file did not succeed
2014-01-14 10:48:57 -05:00
jctanner
9ed379b7f8
Merge pull request #5282 from rhaido/hard_link_fix
...
file module: Added to the file module the functionality to force conversion hard link...
2014-01-14 07:15:46 -08:00
Michael DeHaan
a7fbafe955
Merge pull request #5616 from resmo/fix/zypper_repo
...
zypper_repository: claims to support check_mode, but does not.
2014-01-14 06:02:42 -08:00
Michael DeHaan
5a305a60f7
Merge pull request #5604 from dbrgn/devel
...
apt_key module: Case insensitive presence checking
2014-01-14 06:01:08 -08:00
Michael DeHaan
28013885a1
Merge pull request #5613 from Oneiroi/mysql_user_grant_documentation
...
Documentation update to yield example of "WITH GRANT OPTION" which is undocumented previous
2014-01-14 06:00:22 -08:00
Rene Moser
62fd0b1269
zypper_repository: claims to support check_mode, but does not. Fixes GH-5614.
2014-01-14 14:20:18 +01:00
David Busby
b4f86abafd
Documentation update to yield example of "WITH GRANT OPTION" which is undocumented previous
2014-01-14 12:04:32 +00:00
Danilo Bargen
7436da08fe
apt_key module: Case insensitive presence checking
...
Right now key_present() is case sensitive, only uppercase key IDs work. By using "grep -i", lowercase IDs should work too.
2014-01-14 01:11:40 +01:00
James Tanner
ca05584495
Fixes #5469 Refactor sysctl module into object oriented code,
...
and add a sysctl_set parameter to manage the values in /proc
2014-01-13 18:53:02 -05:00
willthames
8fb5a66944
keypair is not absolutely required when creating ec2 instances
2014-01-14 09:12:01 +10:00
James Tanner
eeee1e1c5a
Set accept_hostkey to False by default in the git module and fail
...
early if the key is unknown
2014-01-11 11:02:01 -05:00
James Tanner
8665b0638a
Add an "accept_hostkey" parameter to the git module to help automatically
...
accept hostkeys for git repos and prevent task hangs when the key is unknown
2014-01-11 10:36:45 -05:00
Michael DeHaan
ea4bb9f57d
Merge pull request #5562 from sivel/rax-clb-node-to-dict
...
rax_clb module: Ensure the id attribute is returned for a node
2014-01-09 14:58:03 -08:00
Matt Martz
e3adaa648a
Ensure the id attribute is returned for a node
2014-01-09 14:05:32 -06:00
willthames
c06b63ce82
Added ability to create EC2 volume from snapshot
...
ec2_vol module now takes optional snapshot argument
Added relevant module argument handler and documentation
2014-01-09 14:40:01 +10:00
inetfuture(Aaron Wang)
64acd60d24
Fix npm documentation typo.
2014-01-09 08:53:17 +08:00
Tyler
2f813f7660
keep /usr/local/etc/rc.conf for backwards compatibility
2014-01-08 14:38:49 -05:00
Tyler
1a655b2dd7
Use /etc/rc.conf.local for sevice configuration on FreeBSD
...
/etc/rc.conf.local is the preferred location for system-specific
startup configuration, and /usr/local/etc/rc.conf generally isn’t used.
see:
http://www.freebsd.org/doc/handbook/configtuning-core-configuration.html
2014-01-08 13:48:11 -05:00
Paul Durivage
a85e021640
Completed documentation and examples
2014-01-08 09:39:29 -06:00
Paul Durivage
e822ddd910
Add rax_files_objects module for Rackspace Cloud Files support
...
This squashed commit fixed typos, changed to Py 2.4 compatible exceptions
2014-01-08 09:36:04 -06:00
inetfuture(Aaron Wang)
fbd3902652
supervisorctl: add group support and refine documenation.
2014-01-08 15:09:36 +08:00
Michael DeHaan
7bf2250ddf
Merge pull request #5543 from jlund/improved-password-documentation
...
Improved the documentation for password generation
2014-01-07 19:28:11 -08:00
lichesser
7201972a56
Remove debugging code
...
I guess this is left over from testing
2014-01-08 02:34:59 +01:00
Joshua Lund
3b4f3f8ca3
Improved the documentation for password generation
2014-01-07 18:20:39 -07:00
Paul Durivage
41be035a43
Add module support for Rackspace Cloud Files Containers
2014-01-07 17:01:59 -06:00
James Tanner
c8bd14925d
Fixes #5369 Do not pass --force-yes to aptitude
2014-01-07 15:53:28 -05:00
James Tanner
dee960716b
Fixes #5353 create etc/hostname file in debian if it does not exist
2014-01-07 15:53:16 -05:00
jctanner
7520bac8ce
Merge pull request #5404 from sivel/rax-improvements
...
rax module: improvements
2014-01-07 15:52:35 -05:00
Michael DeHaan
1e6926b9ab
Merge pull request #5528 from dverhelst/devel
...
Adding support for detecting RHEV Hypervisor in ansible_virtualization_type
2014-01-07 15:51:21 -05:00
jctanner
9a69b1b0ec
Merge pull request #5311 from willthames/ec2_refactor
...
ec2 modules: Move more responsibility to common EC2 module
2014-01-06 14:09:38 -08:00
jctanner
aa1f9f24c3
Merge pull request #5264 from drewlll2ll/file-fix
...
file module: Fixed missing prev_state == 'directory' in file
2014-01-06 14:07:07 -08:00
Alan Fairless
7a86083850
Fix postgresql_user to understand PG namespaces
...
Previously postgresql_user quoted user supplied identifers to create
grant statements that look like this:
GRANT SELECT on "tablename" to "user";
Which only works if the tablename is not in a namespace. If you supply
a namespaced tabelname like "report.revenue" then it creates this
incorrect statement:
GRANT SELECT on "report.revenue" to "user";
Which will not find the "revenue" table in the "report" namespace, but
will rather look for a table named "report.revenue" in the current
(default public) namespace. The correct form is:
GRANT SELECT on "report"."revenue" to "user";
This approach could have the unfortunate effect that code that
previously relied on the other behavior to grant privileges on tables
with periods in their names may now break. PostgreSQL users
typically shouldn't name tables as such, and users can still access the
old behavior and use tablenames with periods in the if they must by
supplying their own quoting.
2014-01-04 15:37:08 -06:00
Michael DeHaan
e0cd4a45c6
Merge pull request #5489 from daghoidahl/devel
...
Use "brew list <name>" instead of grepping the output of "brew list". Fix for #5488
2014-01-04 10:52:03 -08:00
Paul Beattie
e96377685e
Fixed typo in example documentation
2014-01-04 00:22:14 +00:00
James Tanner
191be7b951
Resolves issues with newer versions of pip not having a --use-mirrors paramater for the install command
2014-01-03 15:29:18 -05:00
Aleksey Ovcharenko
c57445c5f3
Downgraded module version_added.
2014-01-03 17:22:10 +02:00
rgbj
f2150b101e
On OpenBSD, make user module status 'changed' only if necessary when using 'login_class' parameter
2014-01-03 15:41:12 +01:00
Dag Høidahl
279098bd03
Use "brew list <name>" instead of grepping the output of "brew list".
...
Some brew packages are not listed with their package name, e.g. libjpeg.
2014-01-03 15:15:20 +01:00
jctanner
89abc35e59
Merge pull request #5167 from jaspernbrouwer/devel
...
service_module: Fixed false positive on initctl as enable_cmd
2014-01-02 20:24:00 -08:00
Michael DeHaan
2f811c40d7
Basic docsite formatting fixups
2014-01-02 17:36:52 -05:00
James Tanner
86719ce77f
Fixes #5040 setup module: do not add primary interface info to the secondary interface data
2014-01-02 16:17:24 -05:00
Jim Kleckner
dacef1915a
Add quotes to password argument for dump/import
...
The password is passed on a command line for dump and import and needs
quoting.
Ideally, this would not be passed on a command line at all - any ideas?
Or at least have a stronger form of quoting so that embedded single
quotes will be escaped.
2014-01-02 12:04:03 -08:00
Rutger Spiertz
763c0305c1
apt_repository: don't crash if default_file doesn't exist
2014-01-02 15:41:24 +01:00
Jinn Koriech
aebae13c9b
postgresql_user module: Gracefully handle ALTER ROLE on read-only postgres servers.
2013-12-31 18:23:45 +00:00
Michael DeHaan
99616d0c80
Pass scrub_data by default, see response from DO here: https://www.digitalocean.com/blog
2013-12-30 20:21:15 -05:00
Evgenii Terechkov
c06cc8c21b
Initial version of apt-rpm module
2013-12-29 19:55:18 +08:00
Michael DeHaan
d4cd1fba8b
add a note about raw/endraw
2013-12-27 15:01:27 -05:00
Jim Kleckner
edca1d69cf
Fix documentation example for the fail module
...
The example for the fail module doesn't work:
http://www.ansibleworks.com/docs/modules.html#fail
The current text shows:
- fail: msg="The system may not be provisioned according to the CMDB status."
when: "{{ cmdb_status }} != 'to-be-staged'"
The "when" documentation indicates that the argument is already a Jinja2
expression:
http://www.ansibleworks.com/docs/playbooks_conditionals.html#the-when-statement
Thus, the following is
when: cmdb_status != "to-be-staged"
is preferred even though the following could work but generates a
deprecation warning:
when: {{cmdb_status != "to-be-staged"}}
2013-12-26 16:32:32 -08:00
Jim Kleckner
f532b449d7
Fix mysql_db dump and import to use port argument
...
The code for mysql_db did not pass the port argument when state=dump or
state=import.
2013-12-26 16:21:16 -08:00
Nick Irvine
8b4c9420e7
Make default irc color none; add color none
2013-12-26 16:11:39 -08:00
Mikhail Sobolev
8733b5da8b
fix short/full description for elasticache
2013-12-26 14:35:57 -05:00
Michael DeHaan
cfcdc3403e
Use task names in examples.
2013-12-26 13:46:09 -05:00
Michael DeHaan
4765032fcb
Merge branch 'devel' of git://github.com/beefsalad/ansible into devel
2013-12-26 13:41:42 -05:00
Michael DeHaan
1260225fc9
Merge pull request #5427 from bcoca/template_docs2
...
added more usefull example for jinja2 overrides
2013-12-26 10:30:44 -08:00
beefsalad
5b2fda6fa6
added descriptions for yum options
...
Updated main description to state that the yum module will handle package groups. Added descriptions for each example, as it is unclear to (some) users that @Name implies a group install.
2013-12-26 12:25:52 -06:00
Brian Coca
488ef22f5e
added more usefull example for jinja2 overrides (this one is actually
...
used)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-26 12:01:41 -05:00
lichesser
b49cb2e540
Partial fix for #4565 . Works only for Debian 7 and later
2013-12-26 17:53:17 +01:00
Maykel Moya
0711447d3a
Missing "is" in file module description
2013-12-26 12:34:46 +01:00
Michael DeHaan
e8d9f58949
Merge pull request #5419 from stoned/shell-module-doc-fix
...
shell module: document removes option and sync with command module doc
2013-12-25 10:52:46 -08:00
Michael DeHaan
0bdf615612
User report of DO not taking underscores so tweaking docs
2013-12-25 13:51:56 -05:00
Michael DeHaan
aa8beadec3
Fix a documentation item.
2013-12-25 13:50:15 -05:00
Stoned Elipot
b85743e228
shell module: document removes option and sync with command module doc
2013-12-25 12:12:11 +01:00
Augustus Kling
6d1c2a92de
Basic handling of locales.
2013-12-24 12:29:02 +01:00
Will Thames
b65486734a
rds module: add snapshot capabilities
...
Add the ability to create snapshots and restore from them
Make instance creation, deletion, restore, and snapshotting idempotent
(really helps testing a playbook if you can run it multiple times)
2013-12-24 20:32:49 +10:00
David Hummel
c5433d9742
Check for group_name and cidr_ip.
2013-12-23 15:57:47 -05:00
Brian Coca
35980ef329
making pylint happier
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-23 14:09:15 -05:00
Brian Coca
c2c0d9bcd7
corrected my grammar (again Mikhail)
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-23 13:48:53 -05:00
Brian Coca
555f12c59a
did some minor refactoring on docs and fixed spelling mistakes (thanks
...
Mikhail)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-23 13:35:27 -05:00
Jasper N. Brouwer
a52ca73167
Swapped conditions of the changed if statements
2013-12-23 09:54:16 +01:00
Janitha Karunaratne
fd037f5960
Fixes #5381 easy_install bug when used with virtualenv
2013-12-20 16:44:18 -06:00
David Hummel
bd67c6756a
Add rule group_name parameter whose value can reference containing group name.
2013-12-20 16:06:55 -05:00
Brian Coca
821aa432a6
corrected indentation and now handles non existing previous key (not
...
just changed existing)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-20 12:50:06 -05:00
Brian Coca
b45fb649ee
now handles default and allaows for either shorthand entry or specific
...
fields per entry section
the default option works both when added to entry or as stand alone.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-19 20:36:49 -05:00
Joseph Tate
e868d00472
Add capability check for parameters on request_spot_instances
2013-12-19 18:16:56 -05:00
Brian Coca
307ab1f561
and it was supposed to be a dict
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-19 17:22:05 -05:00
Brian Coca
fd78916a73
fixed typo for showing diff
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-19 17:21:00 -05:00
Brian Coca
175d6346a2
debconf package
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-19 16:54:02 -05:00
Peter Salvatore
12cb1afdc8
fix typo in synchronize module
2013-12-18 13:06:35 -08:00
Michael Vermaes
5671ddcdd3
Attempt #2 to cause yum to fail on invalid url
2013-12-19 00:40:44 +08:00
Michael DeHaan
3f81c3c416
Merge pull request #5162 from JensRantil/fix-corrupt-module-outputs
...
More don't catch `SystemExit`
2013-12-18 05:13:34 -08:00
willthames
46a5f8c656
Make state=present the default for ec2_tag
...
Using `ec2_tag` module without the state argument
currently results in:
```
failed: [127.0.0.1] => {"failed": true, "parsed": false}
```
This fix makes `state=present` the default
2013-12-18 13:40:41 +10:00