Commit graph

8199 commits

Author SHA1 Message Date
Michael DeHaan
fa8a02dcda Merge pull request #5212 from tarka/devel
Cast the retrieved `retries` var to an int before incrementing as it may...
2013-12-07 04:51:19 -08:00
Steve Smith
5b81f88c8f Cast the retrieved retries var to an int before incrementing as it may be in string form.
For example, the following method of calculating the value will result in a type error:

    appstatus_waitfor: 4  # Minutes
    appstatus_delay: 5 # seconds
    appstatus_retries: "{{ mins * 60 / delay }}"
2013-12-07 10:35:14 +01:00
Matt Martz
ead733362f module is not exposed to send_msg, but main() catches exceptions and uses module.fail_json 2013-12-06 11:42:30 -06:00
Matt Martz
b48b22b24a Try to follow RFC2812 for waiting on serverl welcome and join messages before performing more tasks 2013-12-06 11:42:30 -06:00
Wanderlei Antonio Cavassin
6ba93817a9 Avoid UnicodeDecodeError exception when passing module args 2013-12-06 12:59:43 -02:00
jctanner
36a305ce9d Merge pull request #5195 from Multifarious/devel
Fix loading from cache in ec2.py inventory plugin.
2013-12-06 06:53:01 -08:00
Lorrin Nelson
663deff2c2 Fix loading from cache in ec2.py inventory plugin. 2013-12-05 21:33:25 -08:00
Michael DeHaan
a19ef93cf3 Update README.md
remove author section, references old email address
2013-12-05 19:22:05 -05:00
Michael DeHaan
0fc5771eab Update README.md
Clarify docs readme about wordpress
2013-12-05 19:17:02 -05:00
jctanner
66cf819a68 Merge pull request #5192 from jeromew/ansible_user_removal
user module: force= and remove= should not be mutually exclusive
2013-12-05 14:21:28 -08:00
jeromew
1916e8ec90 user module: force= and remove= should not be mutually exclusive 2013-12-05 17:07:24 -05:00
jctanner
364ad44db3 Merge pull request #5188 from Multifarious/devel
ec2 inventory now include Ansible 1.3 style _meta data each host.
2013-12-05 13:58:50 -08:00
jctanner
5e336d7caf Merge pull request #5075 from gservat/patch-1
Added support for parsing in the SLES patch level correctly
2013-12-05 13:34:57 -08:00
gservat
db2f41bdcb This change is meant to replace distribution_release, not version! 2013-12-06 07:53:39 +11:00
gservat
83f35a63dd Oops... fixed an error 2013-12-06 07:49:03 +11:00
Lorrin Nelson
94d60b53de ec2 inventory now include Ansible 1.3 style _meta data each host. 2013-12-05 11:40:18 -08:00
jctanner
6b45c4a6ca Merge pull request #5181 from mvo5/bugfix/apt-fnmatch-remove
add fnmatch() support for apt remove too (just like install)
2013-12-05 09:18:04 -08:00
jctanner
54a43d8cea Merge pull request #5174 from jinnko/devel
Add documentation for usage of encrypted postgresql passwords.
2013-12-05 09:07:57 -08:00
jctanner
9dec25854e Merge pull request #5182 from mscherer/fix_5177
Fix apt module to be able to install package by giving just a provides a...
2013-12-05 09:01:59 -08:00
Jinn Koriech
80d6ca19af Add README info for building the module documentation. 2013-12-05 17:01:49 +00:00
Jinn Koriech
6f2843724d Fix postgresql_user documentation render 2013-12-05 16:57:56 +00:00
Michael Scherer
3df62f1d8a Fix apt module to be able to install package by giving just a provides and not the full name
The apt module check if a packag eis valid by loking in the cache, checking only for
full name, while it should also check that the name is not just provided.
Fix https://github.com/ansible/ansible/issues/5177
2013-12-05 17:56:54 +01:00
Michael Vogt
559de5c65e add fnmatch() support for apt remove too (just like install) 2013-12-05 17:54:43 +01:00
jctanner
85d8587cc0 Merge pull request #5173 from zitterbacke/devel
basic AIX network facts
2013-12-05 08:40:48 -08:00
James Tanner
bf78d8cf73 Addresses #5090 setup module was using path.is_file instead of path.isfile 2013-12-05 11:36:54 -05:00
jctanner
01388d1d21 Merge pull request #5179 from dhml/devel
Fix issue #5043: ec2_vpc module wait=yes state attribute retrieval
2013-12-05 07:55:10 -08:00
David Hummel
614efadb7a Fix issue #5043: ec2_vpc module wait=yes state attribute retrieval 2013-12-05 10:47:22 -05:00
cavassin
10f5af82f9 Prevent UnicodeEncodeError
Prevents UnicodeEncodeError: 'ascii' codec can't encode character, while printing shell commands output
2013-12-05 13:17:57 -02:00
Jinn Koriech
6b54417bd5 Add documentation for usage of encrypted postgresql passwords. 2013-12-05 10:35:35 +00:00
Alfons Zitterbacke
5390ee9763 added AIX network facts 2013-12-05 10:13:55 +01:00
Alfons Zitterbacke
cc783b3e1b added AIX network facts 2013-12-05 10:06:44 +01:00
James Tanner
cbfeb0a2ea Fixes #5169 Evaluate check_mode in the user module SunOS class 2013-12-05 00:44:55 -05:00
Michael DeHaan
71a5de6e72 Merge pull request #5168 from sivel/rax_clb_required_together
rax_required_together is a function
2013-12-04 19:11:58 -08:00
Matt Martz
d73251c342 rax_required_together is a function 2013-12-04 19:26:34 -06:00
James Tanner
4422219275 Merge #4689 from dirtyharrycallahan/ansible
Fix ansible.spec to handle opensuse and fedora
2013-12-04 15:59:01 -05:00
Jasper N. Brouwer
0e11e4c86f Fixed false positive on initctl as enable_cmd
Also on update-rc.d
In service module
2013-12-04 21:49:00 +01:00
jctanner
56341a2223 Merge pull request #4984 from marcinpraczko/devel
Fix for RPM build on opensuse
2013-12-04 11:38:16 -08:00
jctanner
7aa35d64c2 Merge pull request #5091 from EspadaV8/5089_assemble_fix
#5089 hack-fix assemble module
2013-12-04 10:13:16 -08:00
James Tanner
cdbce4a5c8 Addresses #5042 remove /usr/share/ansible when uninstalling rpm 2013-12-04 11:06:33 -05:00
Bruce Pennypacker
d3480c5630 fixed documentation & added rename example 2013-12-04 10:01:30 -05:00
Jens Rantil
2096c669d9 env-setup fix for zsh <= 4.3.10
This fixes issue #5026. It used to work. The regression was
introduced in 2b3381de7c.
2013-12-04 14:36:47 +01:00
Jens Rantil
153df0a23e module(nagios): don't catch SystemExit
If we do this, we risk outputting two JSON payloads, which will be
unparsable.
2013-12-04 13:57:55 +01:00
Jens Rantil
8f2580fc98 module(apt_key): don't catch SystemExit
If we do this, we risk outputting two JSON payloads, which will be
unparsable.
2013-12-04 13:57:50 +01:00
Jens Rantil
705316e303 file module: Don't catch SystemExit
This fixes issue #5159.
2013-12-04 13:13:49 +01:00
willthames
3a0d2860e0 Allow multiple users to use ec2 inventory scripts
Move the ec2 cache files from a shared /tmp location to the
user's ansible tmp directory.
2013-12-04 11:42:44 +10:00
Michael DeHaan
27199dc219 Merge pull request #5133 from joshuaconner/add_docker_max_version_to_docs
add supported docker version to docs
2013-12-03 16:46:34 -08:00
Michael DeHaan
7ea95dbcb0 Merge pull request #5137 from willthames/test_runner_fix
Ensure test_command tests are actually correct
2013-12-03 16:41:36 -08:00
Michael DeHaan
0fe7f8bc77 Merge pull request #5142 from mmoya/docfix
Add blank line before rst directive
2013-12-03 16:28:12 -08:00
Michael DeHaan
dc4a09a588 Merge pull request #5143 from evgkrsk/ovirt-import
Use ovirtsdk if it installed, but fall out gracefully if it is not
2013-12-03 16:27:54 -08:00
Michael DeHaan
231b0d58c3 Merge pull request #5149 from colszowka/patch-1
Use h2 for version headings in Changelog to allow deeplinking
2013-12-03 16:22:27 -08:00