jjshoe
12c84dd6bd
Show argument dependency
...
failed: [192.168.1.2] => {"cmd": "rsync --delay-updates -FF --compress --timeout=10 --delete-after --rsh 'ssh -i /home/jjshoe/.vagrant.d/insecure_private_key -o StrictHostKeyChecking=no' --rsync-path 'sudo rsync' --out-format='<<CHANGED>>%i %n%L' /tmp/app vagrant@192.168.1.2:/home/ubuntu/app", "failed": true, "item": "", "rc": 1}
msg: rsync: --delete does not work without --recursive (-r) or --dirs (-d).
rsync error: syntax or usage error (code 1) at main.c(1453) [client=3.0.9]
2014-03-26 08:32:55 -05:00
Alexander Winkler
69e09b048c
version_added for the new parameters documentation
2014-03-26 10:25:42 +00:00
James Cammarata
19c92b3a42
Merge branch 'subversion_export' of https://github.com/maniaplanet/ansible into maniaplanet-subversion_export
2014-03-25 21:25:50 -05:00
James Cammarata
f2c06cadc3
Cleanup from merge of replace module and CHANGELOG update
2014-03-25 11:13:51 -05:00
James Cammarata
9775872f83
Merge branch 'devel' of https://github.com/EvanK/ansible into EvanK-devel
2014-03-25 10:38:59 -05:00
Alexander Winkler
03040a97c8
svr4pkg supports the -G switch for pkgadd
2014-03-25 09:03:48 +00:00
James Cammarata
d545b73ccb
Merge branch 'file_fixes_agg' of https://github.com/bcoca/ansible into bcoca-file_fixes_agg
2014-03-24 16:38:35 -05:00
James Cammarata
a4af31e511
Revert "add yum module downgrade support"
...
This reverts commit cbd1da6457
.
2014-03-24 12:27:32 -05:00
Robert Wehner
8a19d31391
Update 'validate=' parameter documentation to make clear that the command
...
passed via this paramter is not passed via shell and so all shell features
will not work.
2014-03-24 09:06:25 -06:00
bryan hunt
aa2d6e47f0
Accept status code from a list of valid codes.
...
(cast the list of acceptable codes to a list of int )
2014-03-24 14:23:18 +00:00
bryan hunt
9ff6c40ed0
Accept status code from a list of valid codes.
2014-03-24 14:17:36 +00:00
bryan hunt
5d51837921
Accept status code from a list of valid codes.
2014-03-24 13:51:44 +00:00
Seth Woodworth
c28d3545fb
adds missing '
to debconf examples
2014-03-23 18:52:08 -04:00
Michael DeHaan
503327d53c
Merge pull request #6640 from falloutdurham/ec2_count
...
ec2: Adding type int for count (in line with other cloud modules)
2014-03-23 16:24:11 -04:00
Michael DeHaan
ebc9ca9504
Merge pull request #6635 from pilou-/debconf
...
Fix ValueError when selection contains a colon
2014-03-23 16:19:54 -04:00
James Cammarata
3ea5d573aa
Acclerate improvements
...
* Added capability to support multiple keys, so clients from different
machines can connect to a single daemon instance
* Any activity on the daemon will cause the timeout to extend, so that the
daemon must be idle for the full number of minutes before it will auto-
shutdown
* Various other small fixes to remove some redundancy
Fixes #5171
2014-03-23 14:45:49 -05:00
Ian Pointer
bebb11afeb
Adding type int for count (in line with other cloud modules)
2014-03-23 13:51:54 -04:00
Pierre-Louis Bonicoli
1bb5b0f6bd
Fix ValueError when selection contains a colon
2014-03-23 03:35:10 +01:00
Max Riveiro
9114fd6d7a
Add rollbar_deployment module
...
Signed-off-by: Max Riveiro <kavu13@gmail.com>
2014-03-23 00:38:53 +04:00
David Fox
6b0ef5f10e
Modified library/system/user so that password change date is set on Solaris when updating password
2014-03-22 15:12:56 -04:00
Brent Langston
ca14df4790
Make the default URI a constant
2014-03-22 13:56:49 -04:00
Brent Langston
712e114dff
Allow custom hipchat urls
2014-03-21 23:22:05 -04:00
Colin Mattson
3e6bf9640c
Clarify documentation for apt pkg, state, install_recommends
2014-03-21 13:52:36 -07:00
Michael DeHaan
50aa3f6a09
Fix documentation for twilio module.
2014-03-21 14:26:20 -04:00
willthames
c0ac615a07
Allow state=absent for ec2_vol
...
Add methods to the module to make it more readable and allow reuse
2014-03-21 22:10:55 +10:00
Maykel Moya
6a92d48b0f
ec2_group: Document group_desc rule param
2014-03-21 08:35:25 +01:00
willthames
7272877df6
Allow npm to install to a directory that doesn't yet exist
...
If path is specified but does not exist, create it.
Fail if path is specified but is not a directory
2014-03-21 13:30:12 +10:00
James Tanner
ea5186ca63
Fixes #6590 add set_remote_user parameter to synchronize
...
This allows usage of custom ssh configs for remote hosts where
the inventory user does not match the configured user.
2014-03-20 13:56:07 -04:00
Michael DeHaan
c729bf209c
Update documentation YAML syntax.
2014-03-20 13:22:19 -04:00
Maykel Moya
a429ff26dc
ec2_group: Add documentation for rules_egress
2014-03-20 17:24:22 +01:00
Maykel Moya
b642e39e67
ec2_group: rules are not a required task argument
2014-03-20 17:24:22 +01:00
Maykel Moya
3156df9931
ec2_group: Request a fresh group object after creation
...
When a group is created, an egress_rule ALLOW ALL to 0.0.0.0/0 is added
automatically but it's not reflected in the object returned by the AWS API
call. After creation we re-read the group for getting an updated object.
2014-03-20 17:24:22 +01:00
Maykel Moya
649fcd3e1c
ec2_group: Auto create missing groups referenced in rules
...
Suppose a pair of groups, A and B, depending on each other. One solution
for breaking the circular dependency at playbook level:
- declare group A without dependencies
- declare group B depending on A
- declare group A depending on B
This patch breaks the dependency at module level. Whenever a depended-on
group is missing it's first created. This approach requires only two tasks:
- declare group A depending on B (group B will be auto created)
- declare group B depending on A
When creating a group EC2 requires you to pass the group description. In
order to fullfil this, rules now accept the `group_desc` param. Note
that group description can't be changed once the group is created so
it's nice to keep descriptions in sync.
Concrete example:
- ec2_group:
name: mysql-client
description: MySQL Client
rules_egress:
- proto: tcp
from_port: 3306
to_port: 3306
group_name: mysql-server
group_desc: MySQL Server
- ec2_group:
name: mysql-server
description: MySQL Server
rules:
- proto: tcp
from_port: 3306
to_port: 3306
group_name: mysql-client
2014-03-20 17:24:17 +01:00
Maykel Moya
77d7165dde
ec2_group: Deduplicate rule parsing/validation code
2014-03-20 16:19:35 +01:00
Maykel Moya
f97243d6ed
ec2_group: Add support for handling egress rules
2014-03-20 15:50:08 +01:00
jjshoe
1f980b6880
assign_public_ip was actually added in 1.5
...
Checked 1.4.5 and this option doesn't exist. Will check/update/pull docs next.
2014-03-20 09:21:10 -05:00
Oleg Bulatov
3edd3862df
Respect region_name in nova_compute
...
Signed-off-by: Oleg Bulatov <oleg@bulatov.me>
2014-03-20 17:07:49 +04:00
Steve Smith
e157355fd6
Only unlink the symlink tempfile on error if it was created in the
...
previous operation.
2014-03-20 13:14:24 +01:00
Michael DeHaan
2156e87e62
Update cpanm
2014-03-20 08:10:02 -04:00
Brian Coca
1b38bd8a40
fixed issue with tmp file (path can include filename) and added missing
...
else which made it try to link x2
2014-03-20 07:55:53 -04:00
Brian Coca
6e6ad97239
now correctly checks absolute path for src= existance for links
...
also updated docs to be a bit clearer on symlink behaviour
2014-03-20 07:49:25 -04:00
Till Maas
c21fa8ebee
service module: Properly disable Debian services
...
Services on Debian need to be disabled with 'disable' instead of 'remove'
to avoid them being enabled again when 'update-rc.d $service defaults' is run,
e.g. as part of a postinst script.
2014-03-20 09:19:42 +01:00
Till Maas
65deb7f50f
authorized_key: Be more specific about manage_dir
...
- Explain which properties are managed when manage_dir is True.
2014-03-20 09:15:59 +01:00
Michael DeHaan
991399edf0
Update comments about redis config.
2014-03-19 18:15:52 -04:00
Michael DeHaan
b0639b16cf
Merge branch 'devel' of git://github.com/mleventi/ansible into devel
2014-03-19 18:15:06 -04:00
Michael DeHaan
a8514dacc3
Add capabilities module.
2014-03-19 17:48:17 -04:00
nate@bx.psu.edu
97db1676e0
Bugfix for xattrless files and the capabilities module.
2014-03-19 17:48:17 -04:00
nate@bx.psu.edu
f26ebff438
Create a capabilities module for managing Linux kernel capabilities(7) with setcap(8).
2014-03-19 17:48:17 -04:00
Michael DeHaan
266123e521
Merge pull request #6549 from mattjbray/docker-tty-stdin_open-params
...
docker: add tty and stdin_open options
2014-03-19 17:28:12 -04:00
Michael DeHaan
a5bdf621cf
add notes about new AWS modules.
2014-03-19 17:26:59 -04:00
Michael DeHaan
5a5a9574e6
Merge pull request #6540 from Zeekin/devel
...
Add cloud modules ec2_scaling_policy and ec2_metricalarm
2014-03-19 17:25:44 -04:00
Michael DeHaan
b1fe7ee24a
Add notes about new notification module.
2014-03-19 17:23:30 -04:00
Michael DeHaan
3d7bf1e52a
Merge branch 'devel' of git://github.com/tksmd/ansible into devel
2014-03-19 17:23:01 -04:00
Michael DeHaan
54635cb59f
Add note about IRC library default change.
2014-03-19 17:21:41 -04:00
Michael DeHaan
8fb5e2c657
Merge pull request #5443 from nirvinehh/devel
...
irc module: Make default irc color none; add color none
2014-03-19 17:20:07 -04:00
James Tanner
5f428041db
Fixes #6582 Re-add regex to ignore untracked files that were never tracked
2014-03-19 15:42:40 -04:00
James Cammarata
efcf93f280
Merge pull request #6571 from bcoca/file_fixes_copydir
...
fixed issue with directory permissions on copy
2014-03-19 13:54:12 -05:00
James Tanner
67517e96d3
Fixes #6567 put the git wrapper script in the module temp dir
2014-03-19 10:30:10 -04:00
Brian Coca
f6a75ebaf1
fixed issue with directory permissions on copy #6552
2014-03-18 22:29:22 -04:00
James Tanner
324a943e12
Fixes #6548 correct issues from rhn_register refactoring
2014-03-18 21:21:18 -04:00
Michael DeHaan
8899c74aaf
Merge pull request #6565 from fabianfreyer/devel
...
Fixed bug that occurred when pkgsite not specified
2014-03-18 17:13:05 -04:00
Michael DeHaan
9cf75ed3a6
Merge pull request #6564 from joehack3r/devel
...
Update example to include delete on termination
2014-03-18 17:12:29 -04:00
Michael DeHaan
c7b683e26e
Merge pull request #6561 from patrickheeney/slack-url-fix
...
Fix domain name in slack module
2014-03-18 17:11:29 -04:00
Fabian Freyer
17fcc89b3b
Fixed bug that occurred when pkgsite not specified
2014-03-18 21:55:05 +01:00
joehack3r
815115f792
Update example to include delete on termination
2014-03-18 15:49:27 -05:00
James Tanner
f6a02d9b2c
Merge pull request #6220 from trevorah/ansible.git
...
apt_repository: autoinstall python-apt if not available
2014-03-18 16:21:04 -04:00
patrickheeney
f594e8b6f0
Fix domain name in slack module
2014-03-18 11:17:20 -07:00
James Cammarata
acdb75da92
Merge branch 'threatgrid-issues/6341' into devel
2014-03-18 12:37:54 -05:00
Michael DeHaan
416d6becd9
Merge pull request #6544 from ramondelafuente/feature/notification-slack
...
A module for notifications through the Slack.com platform
2014-03-18 13:29:48 -04:00
Michael DeHaan
d8254c14d4
Merge pull request #6556 from andreaskern/patch-1
...
add param to note example for ssh-keyscan
2014-03-18 13:25:45 -04:00
James Cammarata
0556c53f78
Execute commands through accelerate with shell when needed
...
This fixes an issue related to the new run_command changes, whereby
Popen fails to run a command when an executable is specified + shell=False
and there are multiple positional arguments (see Popen docs for details)
2014-03-18 12:24:13 -05:00
Michael DeHaan
d686a23b69
Merge pull request #6554 from vyrak/keep-head-state
...
homebrew: state=head includes --HEAD
2014-03-18 12:58:01 -04:00
andreaskern
a57581e1e7
add param to note example for ssh-keyscan
...
hostnames in the known hosts file are typically stored as Hashed values, calling 'ssh-keyscan' with '-H' changes to output to the Hashed format so that the known_hosts file looks more consistent
2014-03-18 17:24:56 +01:00
James Cammarata
bc38bfe61b
Merge branch 'issues/6341' of https://github.com/threatgrid/ansible into threatgrid-issues/6341
2014-03-18 10:46:39 -05:00
James Tanner
cf0a0ca3d2
Fixes #6519 Properly handle state=absent in sysctl module
2014-03-18 09:30:21 -04:00
Matt Bray
79b3efc989
docker: add tty and stdin_open options
...
Useful for development environments. Setting these options to true
allows you to `docker attach` to a docker container started with
ansible.
2014-03-18 11:57:01 +00:00
Ramon de la Fuente
f51872885c
mandatory silly mistake
2014-03-18 04:59:15 +01:00
Ramon de la Fuente
b4cd4ad15b
A module for notifications through the Slack.com platform
...
This module can send messages through Slack.com, and supports all options
available in the "incoming webhook integration".
- text
- channel
- username
- icon_url / icon_emoji
- link_names
- parse
2014-03-18 04:46:08 +01:00
Zeekin
5e8641b834
Added AWS modules ec2_scaling_policy and ec2_metricalarm for configuring scaling policies for autoscaling groups, and metric alarms.
2014-03-18 10:32:55 +10:00
vyrak bunleang
f5289deee7
prevent state from changing from head to installed
...
allows for --HEAD to be included in brew install command
2014-03-17 16:56:54 -06:00
Michael DeHaan
23990b94c9
Merge pull request #6529 from sivel/apt-repository-no-pycurl
...
Remove dependency on pycurl in apt_repository
2014-03-17 17:32:23 -04:00
James Cammarata
5d8c9d3f0f
Merge branch 'file_fixes_clean' of https://github.com/bcoca/ansible into bcoca-file_fixes_clean
2014-03-17 14:03:26 -05:00
Matt Martz
7af8a33def
remove dependency on pycurl from apt_repository by using module_utils/urls.py instead
2014-03-17 11:31:04 -05:00
Michael DeHaan
caa0b02962
Update formatting in module example.
2014-03-17 09:10:33 -04:00
Zeekin
dae519b723
Improvements to ec2 autoscaling modules
...
* Added desired_capacity and vpc_zone_identifier to ec2_asg
* Use ec2_argument_spec() method and then remove unnecessary
declarations from argument_spec
* Remove AWS_REGIONS declaration
* Rename block_device_mappings to volumes to be consistent with ec2
* Remove all pep8 warnings except line length and continuation indent
* Use updated module_utils/ec2.py to add profile and security_token
support
* Remove mandatory arguments for delete to make launchconfig deletion
work
* Handle existing launch configurations better
* Improve output information
* Improve documentation
2014-03-17 11:33:43 +10:00
Jonathan Dray
0981488df7
fix: bug in apt when python-apt is not present apt-get was not called due to unsafe call
2014-03-17 02:24:12 +01:00
Michael DeHaan
47aff528b9
Amend wait_for docs to reference version of feature addition.
2014-03-16 17:10:37 -04:00
Michael DeHaan
de57057cae
Merge branch 'devel' of git://github.com/AnderEnder/ansible into devel
2014-03-16 17:10:02 -04:00
Michael DeHaan
b471d84e52
Version bump for alternatives module, changelog.
2014-03-16 16:54:57 -04:00
Gabe Mulley
1cae0a6801
add a module for update-alternatives
2014-03-16 16:54:57 -04:00
Michael DeHaan
aaaf9dbc43
Merge pull request #5597 from laggyluke/mongodb_user_idempotence
...
Fix idempotence in mongodb_user module
2014-03-16 15:50:43 -05:00
Michael DeHaan
e4fcc434d1
Version bump, bigip_facts + changelog
2014-03-16 16:48:41 -04:00
Michael DeHaan
51f90c1712
Bump twilio module version_added, changelog.
2014-03-16 16:48:41 -04:00
Matthew Makai
2215111ec5
adding twilio module for sending text notifications in build process
2014-03-16 16:48:41 -04:00
Matthew Makai
8420211aee
new module to send text message notifications
2014-03-16 16:47:49 -04:00
Matt Hite
42d6fc2b54
New bigip_facts module
2014-03-16 16:47:49 -04:00
Michael DeHaan
69d26d507b
Merge pull request #5758 from drawks/devel
...
Correct sleep calls
2014-03-16 15:40:28 -05:00
Michael DeHaan
16ca4c2195
Update version_added
2014-03-16 16:35:52 -04:00
Drew Stokes
5aba903dcf
add registry option to npm module
2014-03-16 16:35:52 -04:00
Michael DeHaan
0bc3cec1c8
Merge pull request #6062 from jpmens/mqttpaho
...
module update: mqtt notification now uses Paho as mosquitto.py being deprecated
2014-03-16 15:21:34 -05:00
Michael DeHaan
11dd81c724
Merge pull request #6069 from danieljaouen/homebrew_class
...
Update homebrew module.
2014-03-16 15:21:00 -05:00
Michael DeHaan
855ccb62c0
Update cask version, changelog.
2014-03-16 16:18:27 -04:00
Michael DeHaan
03f93e0f79
Merge branch 'homebrew_cask' of git://github.com/danieljaouen/ansible into devel
2014-03-16 16:18:05 -04:00
Michael DeHaan
1a90890fd0
Update tap version, changelog
2014-03-16 16:17:11 -04:00
Daniel Jaouen
e7787607d0
Add homebrew_tap module.
2014-03-16 16:17:11 -04:00
Michael DeHaan
9cc5ae6f2f
Merge pull request #6120 from lalinsky/apt_repository_pycurl_non_ppa
...
Don't require pycurl in apt_repository when it's not actually needed
2014-03-16 15:15:57 -05:00
Michael DeHaan
f700da8249
Bump version_added field on composer module.
2014-03-16 16:12:02 -04:00
Michael DeHaan
b0dbc61d63
Move facts to 'module_utils' so they can be referenced by other modules. Note unlike other module_utils/ dirs this keeps the original
...
license -- so usage of facts code in modules will be limited to GPLv3 modules.
2014-03-16 16:12:02 -04:00
dmtrs
0e06e8bb7f
Add module composer (php dependency manager)
2014-03-16 16:12:02 -04:00
Michael DeHaan
d3e989435b
Merge pull request #6405 from fabianfreyer/devel
...
Add support for new pkgng repository format and annotations
2014-03-16 14:43:56 -05:00
Michael DeHaan
8116fecf5d
Merge pull request #6512 from tarka/jira-module-pr
...
Add a JIRA control module for Ansible.
2014-03-16 14:34:38 -05:00
Michael DeHaan
33a1f65565
Merge pull request #6375 from sivel/nexmo
...
New module: nexmo
2014-03-16 14:34:18 -05:00
Michael DeHaan
7286beb15e
Merge pull request #6515 from lotia/fix-acl-doc-and-error
...
Fix acl doc and error
2014-03-16 13:15:42 -05:00
Michael DeHaan
eef5a8a847
Update setup module signature from merge commit.
2014-03-16 14:11:43 -04:00
Ali Asad Lotia
4a006a78b3
Whitespace fixes in incompatible param check
...
- Remove extra whitespace in conditional that checks if etype, entity or
permissions are also set when entry is set.
2014-03-16 17:49:36 +00:00
Michael DeHaan
5c05982dea
Merge pull request #6448 from jirutka/fix-5679-2
...
Fix #5679 again after recent changes in core
2014-03-16 12:43:10 -05:00
Michael DeHaan
eaef86d22b
Merge pull request #6355 from hkariti/npm_install_invalid
...
Add a package to missing list if npm list reported it as invalid
2014-03-16 12:41:03 -05:00
Michael DeHaan
92f9f50f1a
Merge pull request #6339 from threatgrid/systemd-template-svc-fix
...
systemd template services must not discard template part
2014-03-16 12:40:44 -05:00
Michael DeHaan
8d3e2fe79a
Merge pull request #6323 from aresch/rpm_key_query_fix
...
Fix rpm_key on system with no gpg keys imported
2014-03-16 12:40:11 -05:00
Michael DeHaan
1211160cdb
Merge pull request #6289 from rawtaz/fix-irc-nicklen
...
Make irc module accept the nick being shortened by the server.
2014-03-16 12:39:48 -05:00
Michael DeHaan
2b2b174fd3
Merge conflict.
2014-03-16 13:36:52 -04:00
Michael DeHaan
0939a83174
Merge pull request #6203 from garetharmstronghp/fix_rpm_key_issue_5621
...
Fix issue #5621 , rpm_key doesn't work for el5
2014-03-16 12:32:28 -05:00
Michael DeHaan
8a07d98f4b
Merge pull request #6175 from AdmiralNemo/fix-filesystem
...
filesystem: Ignore blkid cache
2014-03-16 12:31:53 -05:00
Michael DeHaan
8920990d63
Merge pull request #6097 from mattjeffery/bug/modprobe_normalise_name
...
Normalise the module name when comparing against the module names in /proc/modules
2014-03-16 12:31:17 -05:00
Michael DeHaan
5aef2f0687
Merge pull request #6005 from pgehres/chkconfig
...
Adding better failure output for chkconfig failures
2014-03-16 12:27:46 -05:00
Michael DeHaan
af7c252ba4
Merge pull request #5909 from joeybaker/patch-1
...
NPM install latest made more effecient
2014-03-16 12:25:51 -05:00
Cristian Ciupitu
138b45e32f
hostname module: don't filter hostnamectl with awk
...
There's no need to filter hostnamectl's output with awk because its man
page says:
hostnamectl [OPTIONS...] {COMMAND}
--static, --transient, --pretty
If status is used (or no explicit command is given) and one
of those fields is given, hostnamectl will print out just
this selected hostname.
E.g. hostnamectl --static status => ansible.example.org
2014-03-16 13:10:28 -04:00
Cristian Ciupitu
0749112286
Micro-optimization: replace s.find(x)!=-1 with x in s
...
timeit shows a speedup of ~3x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
2014-03-16 13:10:28 -04:00
Ali Asad Lotia
9180013682
Fix acl module doc and error messages
...
- Fix typos in module doc
- Provide clearer error message when entry and etype are both missing
2014-03-16 16:41:37 +00:00
Michael DeHaan
d186196901
Remove nova_fip (redundant merge relative to quantum module)
2014-03-16 12:29:19 -04:00
Steve Smith
9a8a8dfb2a
Add a JIRA control module for Ansible. This version uses fetch_url rather than urllib2.
2014-03-16 17:14:04 +01:00
follower
c4f20be774
Fix typo
...
"a the" -> "the"
2014-03-17 00:23:16 +13:00
Brian Coca
2d25577e11
Fixes and cleanup to file functions and module
...
- unified set attribute functions ... not sure why 2 identical functions
exist with diff names, now there are 3 while i repoint all modules to 1
- fixed issue with symlinks being created w/o existing src when force=no
- refactored conditionals, simplified where possible
- added tests for symlink to nonexistant source, with both force options
- made symlink on existing attomic (force)
2014-03-15 13:54:24 -04:00
Michael DeHaan
01b7465a03
Merge pull request #6504 from follower/patch-2
...
Fix typo
2014-03-15 09:15:53 -05:00
Michael DeHaan
9e8a4c9d23
Merge pull request #6502 from follower/patch-1
...
Fix typo in example name
2014-03-15 09:15:17 -05:00
follower
af6109c169
Fix typo
...
"resort" -> "result"
2014-03-15 20:04:38 +13:00
follower
e05e57e0a9
Fix typo in example name
2014-03-15 19:16:14 +13:00
Brian Coca
b81a3bbb20
fixed bad detection of change on default and premature break
2014-03-15 01:10:15 -04:00
tmperret
94198690c1
Made load_balencers in ec2_lc non-required as not all ASGs require an ELB
2014-03-14 22:39:57 +00:00
Michael DeHaan
8082f74798
Add GCE guide and retool a bit to show the add_host interactions, improvements/upgrades are welcome.
...
Had to shoot the recently merged nova_group module in the head temporarily as it contained a dict comprehension, which means it can't work on all the platforms
and was also breaking docs builds on CentOS. Will engage with list about that shortly.
2014-03-14 15:02:22 -04:00
Matt Martz
e2bfa86484
New module: nexmo
2014-03-14 11:06:25 -05:00
Michael DeHaan
30cdac6061
Fix docs for ec2_lc module.
2014-03-14 12:01:23 -04:00
Michael DeHaan
34f961157d
Merge pull request #6491 from jlaska/apt_repository_signing_fix
...
[apt_repository] Correct check_mode conditional logic
2014-03-14 10:21:31 -05:00
James Tanner
9d6518de5a
Fixes #6482 Check sysctl file path and catch read exceptions
2014-03-14 11:16:45 -04:00
James Laska
5cfefb326a
Correct check_mode conditional logic
...
The desired behavior is to _not_ add the ppa signing key when check_mode is
enabled. This fix corrects the conditional logic to comply with the stated
behavior.
2014-03-14 10:24:52 -04:00
Johannes 'fish' Ziemke
32fa21c95f
Rename present to running, add new present state
...
The new present state just makes sure that a container exists, not that
it's running, although it get started one creation.
This is very useful for data volumes. This also changes the old
present, now running (default) state to only create the container if
it's not found, otherwise it just get started.
See also discussion on mailinglist:
https://groups.google.com/forum/#!topic/ansible-devel/jB84gdhPzLQ
This closes #6395
2014-03-14 14:28:46 +01:00
Sam Hanes
b384db53f8
Add support for YAML lists to apt module.
2014-03-14 00:22:32 -07:00
Patrick Gerken
38d6956c1f
Properly catch import errors in apt
...
When one accidentally tries to run this module as a user, he gets the error message that python-apt must be installed, no matter what. Because importing apt will trigger an exception as a regular user. Explicitly catching the ImportError will let the exception bubble. The exception clearly says Permission denied somewhere, and the user has a better idea, what he must fix.
2014-03-14 02:13:20 +01:00
Michael DeHaan
9eb3f8779c
Merge pull request #6468 from philpep/fix_apt_key
...
apt_key: Fix traceback when key_id format is invalid
2014-03-13 17:58:40 -05:00
Michael DeHaan
9c189ed7a4
Merge pull request #6470 from patrickheeney/doc-git-fix
...
Fix documentation for accept_hostkey in GIT module
2014-03-13 17:57:56 -05:00
Paul Durivage
32996bf121
Documentation updates
2014-03-13 16:18:50 -05:00
James Cammarata
b93b99871b
Fix small typo resulting in a traceback for the apt_key module
2014-03-13 13:51:59 -05:00
patrickheeney
fae36165a2
Fix documentation for accept_hostkey
2014-03-13 07:58:12 -07:00
Philippe Pepiot
92e8e59cad
apt_key: Fix traceback when key_id format is invalid
...
Signed-off-by: Philippe Pepiot <phil@philpep.org>
2014-03-13 15:28:37 +01:00
Richard Isaacson
e6f6a73328
Merge pull request #6461 from risaacson/modules_make_run_command_safer
...
Modules make run command safer
2014-03-12 23:28:06 -05:00
Richard C Isaacson
2b53ece3ab
mysql_db module: typo fix
...
Tests clean.
2014-03-12 23:25:22 -05:00
Richard C Isaacson
427221786c
Shell updates.
2014-03-12 22:15:56 -05:00
James Cammarata
bd16cce3e9
Merge pull request #6460 from jsmartin/riak-bugfix
...
Fixes various typos, fetch_url now working, changed command composure for wait_for_service
2014-03-12 21:56:39 -05:00
James Cammarata
ccc0a8cbb0
Fix regression in dnsmadeeasy module caused by fetch_url change
...
Also:
* changed this module to use https for requests to the API
* fixed a bug in which a traceback was caused when the domain wasn't found
Fixes #6457
2014-03-12 20:48:22 -05:00
James Martin
3d032b9db9
Fixes various typos introduced in a9017af2bb
.
...
Fixes odd encoding problem with wait_for_service.
2014-03-12 21:26:16 -04:00
Daniel Jaouen
81f2e43b76
Fix Homebrew._current_package_is_installed
2014-03-12 19:52:16 -04:00
Michael DeHaan
78ebf5d266
Still more shell fixes.
2014-03-12 17:44:53 -04:00
Michael DeHaan
98500b335b
Fixup shell handling in monit module.
2014-03-12 17:43:31 -04:00
Michael DeHaan
dac90278db
More shell fixes
2014-03-12 17:43:31 -04:00
James Tanner
6067d826e4
Close parens in portinstall
2014-03-12 17:36:48 -04:00
Michael DeHaan
4e8b97ddeb
More shell updates
2014-03-12 17:31:00 -04:00
James Tanner
e7f74251c8
Fix missing colons in cpanm
2014-03-12 17:25:32 -04:00
James Tanner
89024f5d9f
Fix typo in portinstall
2014-03-12 17:12:38 -04:00
Michael DeHaan
c193604f60
Some more run_command updates.
2014-03-12 17:04:34 -04:00
Michael DeHaan
81b4ebbe1d
Fixes for run_command shell usage in remainder of packaging modules, save portinstall.
2014-03-12 16:57:18 -04:00
Michael DeHaan
6010e74839
Various commits to enable no-shell or safe-shell usage, more to come.
2014-03-12 16:44:35 -04:00
Patrick Smith
4173608b58
git: Execute git commands in dest
directory
2014-03-12 13:28:39 -04:00
Jakub Jirutka
2bfaacd170
Fix #5679 again after recent changes in core
2014-03-12 18:21:53 +01:00
Richard C Isaacson
154f123b7f
setup module: Mark unsafe commands as use_unsafe_shell=True.
2014-03-12 11:13:20 -05:00
James Cammarata
d8a81c488e
Remove validate_certs parameter from fetch_url calls
2014-03-12 10:31:01 -05:00
James Cammarata
a9017af2bb
Adding validate_certs to all modules that use fetch_url
2014-03-12 10:19:54 -05:00
Ryan
e4805fe411
add module param to Network & sub-classes
...
add module param to Network and sub-classes of Network, so that ansible 1.5.1 changes to LinuxNetwork apply to all Network classes.
2014-03-12 09:37:12 -04:00
Michael DeHaan
c8db3c2db9
Revert "Fix issue#6430 by instantiating Network() with expected arguments"
...
This reverts commit 2a723e908e
.
2014-03-12 09:23:13 -04:00
James Laska
2a723e908e
Fix issue#6430 by instantiating Network() with expected arguments
2014-03-12 09:04:42 -04:00
Michael DeHaan
e0147f18b1
Merge pull request #6421 from bcoca/stat_noread_nomd5
...
now stat skips md5 if file isn't readable
2014-03-12 07:55:17 -05:00
Andy Trevorah
e4ad97b918
reworked apt-repository auto-install to be like yum
2014-03-12 11:15:27 +00:00
Richard Isaacson
681dcf437a
Merge pull request #6429 from risaacson/migrate_booleans_bool_django_manage
...
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:54 -05:00
Richard Isaacson
0fd80f3f6f
Merge pull request #6428 from risaacson/migrate_booleans_bool_postgresql_user
...
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:44 -05:00
Richard Isaacson
d0795a8336
Merge pull request #6427 from risaacson/migrate_booleans_bool_rax_files_objects
...
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:40 -05:00
Richard Isaacson
a6c89a86f6
Merge pull request #6426 from risaacson/migrate_booleans_bool_rax_files
...
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:30 -05:00
Richard Isaacson
9bb8c2aa42
Merge pull request #6425 from risaacson/migrate_booleans_bool_rax
...
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:25 -05:00
Richard Isaacson
2bd97dc8b6
Merge pull request #6424 from risaacson/migrate_booleans_bool_quantum_subnet
...
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:17 -05:00
Richard Isaacson
125775dc3d
Merge pull request #6423 from risaacson/migrate_booleans_bool_gce
...
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:08 -05:00
Richard C Isaacson
c1af272ba1
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:04:19 -05:00
Richard C Isaacson
c2bf201bce
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 22:56:51 -05:00
Richard C Isaacson
c3dc195362
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 22:53:24 -05:00
Richard C Isaacson
3121a7f3ec
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 22:50:03 -05:00
Richard C Isaacson
86adb60a82
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 22:46:53 -05:00
Richard C Isaacson
05a1883cb9
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 22:43:01 -05:00
Richard C Isaacson
1ea5b04e05
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 22:39:42 -05:00
Richard C Isaacson
e40fd9bb0d
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 22:36:44 -05:00
Brian Coca
463a1c21ea
now stat skips md5 if file isn't readable
2014-03-11 22:50:05 -04:00
jctanner
f1301f6fd9
Merge pull request #6415 from devoncrouse/devel
...
Fixed references to missing method in ec2 modules
2014-03-11 22:37:19 -04:00
James Tanner
6da2c37112
Fixes #6411 Return None for ec2 api endpoints that return 404
2014-03-11 21:38:00 -04:00
James Tanner
bd3322824f
Remove duplicate digital_ocean_droplet module
2014-03-11 20:59:46 -04:00
Devon Crouse
b853778a93
Fixed references to missing method in ec2 modules
...
Change-Id: I9b89d433b545269d111b3c290b6411aabf58dd24
2014-03-11 18:19:03 -06:00
Michael DeHaan
a689e42d32
Fix ec2_facts module by removing stray fail statement
2014-03-11 19:17:22 -04:00
Michael DeHaan
3b79a36641
Merge pull request #6409 from risaacson/migrate_booleans_bool_ec2_eip
...
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 17:59:05 -05:00
Michael DeHaan
9b7da52ed7
Merge pull request #6408 from risaacson/migrate_booleans_bool_digital_ocean
...
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 17:58:46 -05:00
Richard C Isaacson
a1c87e6deb
Fix docstring issue.
2014-03-11 16:23:18 -05:00
Richard C Isaacson
1b28e3bf41
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 15:44:34 -05:00
Richard C Isaacson
10f70bee49
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 15:42:45 -05:00
Richard Isaacson
6e13c1ebe0
Merge pull request #6406 from risaacson/at_module2
...
This fixes what was merged in 1.5.0.
2014-03-11 15:27:51 -05:00
James Cammarata
10f7a20e60
Merge pull request #5079 from candlerb/candlerb/virt_states
...
Additional target states for virt module: "destroyed" and "paused"
2014-03-11 15:25:09 -05:00
James Cammarata
11f500fa2f
Merge pull request #4630 from mmoya/mysql_variables-fix2
...
Add support for string values
2014-03-11 15:20:46 -05:00
James Tanner
c73cb77689
Fix name in locale_gen docstring
2014-03-11 16:13:55 -04:00
Michael DeHaan
4a94a5d80a
Merge pull request #6400 from vadimkuznetsov/bug5959
...
bug 5959: https://github.com/ansible/ansible/issues/5959
2014-03-11 15:08:29 -05:00
James Tanner
41b7badb13
Fix snippet imports and version_added in ufw module
2014-03-11 16:07:08 -04:00
James Cammarata
1d6750afec
Merge pull request #5518 from pyykkis/ufw
...
UFW module (another take)
2014-03-11 15:03:33 -05:00
James Tanner
8ffb964f45
Set version_added for locale_gen
2014-03-11 15:56:30 -04:00
James Tanner
da95310d86
Rename locale module to locale_gen
2014-03-11 15:55:26 -04:00
James Cammarata
74335b6e59
Merge pull request #5411 from AugustusKling/locale
...
locale module
2014-03-11 14:54:36 -05:00
James Tanner
b3ff88d06a
Fix version_added and snippet imports on new digital ocean modules
2014-03-11 15:43:59 -04:00
jctanner
748588b516
Merge pull request #4315 from mgregson/add-digital-ocean-domains
...
Add digital ocean domains
2014-03-11 15:40:15 -04:00
James Tanner
53777bbbc9
Fix docstring and snippet import style in portage module
2014-03-11 15:26:26 -04:00
Fabian Freyer
064722aa5e
Added support for package annotations.
2014-03-11 20:24:32 +01:00
jctanner
e94a4aa70f
Merge pull request #4493 from sayap/portage
...
Add packaging module for Gentoo Portage.
2014-03-11 15:24:14 -04:00
James Cammarata
f36de32863
Adding version_added field to metadata field in s3 module
2014-03-11 13:50:21 -05:00
Jake Kreider
777f0a8080
Updated S3 metadata examples
2014-03-11 13:50:21 -05:00
Jake Kreider
b837e5275c
Added metadata support to s3 module
2014-03-11 13:50:21 -05:00
Richard C Isaacson
85b3c4d907
nova_compute: Adding the version_added flag to user_data.
...
Per note in GH-5916.
2014-03-11 13:45:04 -05:00
Richard Isaacson
971199d433
Merge pull request #6403 from risaacson/nova_group
...
Nova group
2014-03-11 13:35:02 -05:00
Richard C Isaacson
e6d099852e
Bump relased in version and update module snippets.
...
Closes GH-5069
2014-03-11 13:33:18 -05:00
Richard Isaacson
cdea88661e
Merge pull request #6402 from risaacson/nova-fip
...
Nova fip
2014-03-11 13:29:01 -05:00
Richard C Isaacson
5fdf7f9f75
Bump relased in version and update module snippets.
...
Closes GH-5154
2014-03-11 13:25:16 -05:00
Vadim Kuznetsov
546d514f87
bug 5959: https://github.com/ansible/ansible/issues/5959
2014-03-11 13:41:50 -04:00
James Cammarata
b95fe470c4
Fixing up some docstrings causing make webdocs to fail
2014-03-11 12:29:02 -05:00
Alexander Popov
d48880debc
Added 'version_added' to the 'resrouce_tags' attribute in DOCUMENTATION section.
2014-03-11 13:27:03 -04:00
Alexander Popov
8c8ff79c8b
Added code to create tags on the VPC resource
2014-03-11 13:27:02 -04:00
Alexander Popov
6dfafb0cf5
Updated module documentation, re: resource_tags
2014-03-11 13:27:02 -04:00
Alexander Popov
49e9c42770
Renamed vpc_id_tags to resource_tags
2014-03-11 13:27:02 -04:00
Alexander Popov
514e4b3742
Added multi VPC support
...
Initial commit
Refactored terminate_vpc method to support vpc_id_tags
Cleaned up find_vpc() method
2014-03-11 13:27:02 -04:00
Fabian Freyer
efe7bfa74a
Changed old variable names that referred to pkgin.
2014-03-11 18:03:14 +01:00
Fabian Freyer
880eaf38a6
Added support for pkgng multiple repositories.
...
Currently checking if pkgng >= 1.1.4, as specified in
https://wiki.freebsd.org/pkgng . I guess that's when using PKGSITE was
deprecated.
2014-03-11 17:55:40 +01:00
James Tanner
3d07db26e3
Update docstring in digital_ocean for backups_enabled version_added
2014-03-11 12:17:29 -04:00
jctanner
bfd9323274
Merge pull request #5935 from zimbatm/do-backups
...
library/digital_ocean: Adds the missing backups_enabled create option
2014-03-11 12:16:12 -04:00
James Tanner
351ebd0b43
Update docstrings in ec2_ami_search
2014-03-11 12:14:14 -04:00
James Cammarata
b10d174ab4
Merge branch 'silkapp-ec2-eip-reuse' into devel
2014-03-11 11:13:01 -05:00
James Cammarata
2b84a40d8e
Renaming reuse parameter in ec2_eip and adding a version_added string
2014-03-11 11:12:23 -05:00
jctanner
7a45e04777
Merge pull request #4845 from lorin/ec2_ubuntu_ami
...
New module: ec2_ami_search
2014-03-11 12:11:49 -04:00
James Cammarata
89c091d689
Merge branch 'ec2-eip-reuse' of https://github.com/silkapp/ansible into silkapp-ec2-eip-reuse
2014-03-11 11:09:26 -05:00
James Tanner
f0704159ae
Update docstrings in ec2_vol
2014-03-11 12:02:04 -04:00
James Cammarata
67e9cbe637
Merge branch 'josephtate-devel' into devel
2014-03-11 11:00:40 -05:00
jctanner
7dcc8e2460
Merge pull request #5287 from ebrevdo/ec2_vol_existing
...
ec2_vol module: add support for name / id to mount volume on instance
2014-03-11 11:58:36 -04:00
James Cammarata
5d4980459f
Merge branch 'drcapulet/ec2-sourcedestcheck' of https://github.com/drcapulet/ansible into drcapulet-drcapulet/ec2-sourcedestcheck
2014-03-11 10:56:44 -05:00
jctanner
b2539ae5d8
Merge pull request #5454 from claco/rax_identity
...
Add rax_identity module
2014-03-11 11:51:30 -04:00
James Cammarata
eabcbb830f
Merge branch 'willthames-ec2_security_token' into devel
2014-03-11 10:48:52 -05:00
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
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
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