Commit graph

2829 commits

Author SHA1 Message Date
Evan Kaufman
2c8b761a65 Added replace module
Heavily based on existing lineinfile module, but where it literally tests a regexp against
*each individual line* of a file, this replace module is more analogous to common uses of
a `sed` or `perl` match + replacement of all instances of a pattern anywhere in the file.

Was debating adding `all` boolean or `count` numeric options to control how many
replacements to make in the destfile (vs currently replacing all instances)

Noted use of MULTILINE mode in docs, per suggestion from @jarv
2013-11-16 13:23:50 -06:00
jctanner
cb16d15a9b Merge pull request #4161 from stygstra/openvswitch-modules
Modules for managing Open vSwitch bridges and ports
2013-11-12 11:20:20 -08:00
James Tanner
810aab96e7 Change route53 module to use shared ec2 authorization module snippet 2013-11-12 14:16:30 -05:00
James Tanner
d62812b8ee Change s3 module to use shared ec2 authorization module snippet 2013-11-12 14:13:05 -05:00
James Tanner
55a3411d67 Remove redundant credential code in vpc module 2013-11-12 14:10:38 -05:00
James Tanner
680bc0cd84 Change vpc module to use shared ec2 authorization moudle snippet 2013-11-12 14:09:06 -05:00
James Tanner
ef3cf6368a Fix docstring quoting in vpc module 2013-11-12 14:02:50 -05:00
jctanner
19dc0b4ae7 Merge pull request #4141 from carsongee/vpc
Added module for handling AWS Virtual Private Clouds
2013-11-12 11:01:00 -08:00
James Tanner
2e916df20f Add default for remote_src to assemble dostrings to avoid confusion 2013-11-12 13:21:49 -05:00
jctanner
28de7dab2f Merge pull request #4738 from bcoca/assemble_action_plugin
assemble can now use src from master/origin
2013-11-12 08:23:39 -08:00
James Tanner
3656c37827 Addresses #4628 evaluate package check return properly and exit failure if not present 2013-11-12 10:37:27 -05:00
James Tanner
36c4f05891 Add more error detail to the service module for FreeBSD 2013-11-12 00:02:30 -05:00
James Tanner
441669b118 Fixes #4877 set type to bool for cache parameter in apt module 2013-11-11 23:23:56 -05:00
jctanner
57da4e04b1 Merge pull request #4245 from abelbabel/patch-1
add check mode support to pkgng module
2013-11-11 20:19:21 -08:00
James Tanner
548a48b2f6 Address #4285 remove redundant stderr output in apt module 2013-11-11 22:27:47 -05:00
jctanner
99c0e183ae Merge pull request #4285 from blair/apt-module-register-stdout-stderr
apt: pass child process stdout and stdout to m.fail_json() and m.exit_js...
2013-11-11 19:15:10 -08:00
jctanner
f58bbd5913 Merge pull request #4617 from resmo/feature/python-apt
apt: autoinstall python-apt if apt or apt_pkg is not available
2013-11-11 18:50:43 -08:00
James Tanner
b82f5ef05c Merge pull request #4286 from blair/ansible
apt: do not consider not-removed and not-upgraded packages as changes.
2013-11-11 21:39:07 -05:00
jctanner
fc51fb8853 Merge pull request #4304 from ferringb/fixes/cron-permissions
Enforce umask for cron module, so cron_file generated files are 0644.
2013-11-11 14:23:39 -08:00
Michael DeHaan
409db94d90 Merge pull request #4858 from sivel/rax-clb-serialize
Fix serialization error in rax_clb
2013-11-10 13:51:41 -08:00
Michael DeHaan
297d8e3003 Merge pull request #4862 from rob-szew/devel
Correcting the security group id lookup from the list of security group ...
2013-11-10 13:45:08 -08:00
Rob Szewczyk
53e9a422e8 Correcting the security group id lookup from the list of security group names 2013-11-08 17:46:41 -05:00
James Laska
1d368f9e1f Correct documentation URLs 2013-11-08 15:02:45 -05:00
Matt Martz
368f85e58a Remove unused variable 2013-11-08 13:15:38 -06:00
Matt Martz
f8c3a83cd5 DRY up dict conversion and fix serialization error 2013-11-08 13:11:15 -06:00
James Tanner
1ad4f6e325 Fixes #4522 Document that comments in ini files will be discarded with the ini module 2013-11-08 09:57:22 -05:00
James Tanner
44014d6800 Set the correct version added for the hostname module 2013-11-07 22:01:02 -05:00
jctanner
9083258fa7 Merge pull request #3940 from hnakamur/hostname_module
Add a hostname module, which sets system's hostname.
2013-11-07 15:11:06 -08:00
James Tanner
2c57b999fc Addresses #4801 Update file module docs to indicate behavior for relative src paths 2013-11-07 17:02:34 -05:00
jctanner
f340f916b4 Merge pull request #4801 from sspans/devel
Add support for relative symlinks
2013-11-07 13:57:18 -08:00
jctanner
929466b8df Merge pull request #4769 from alanfairless/more-password-entropy-revised
Revised patch for more password entropy
2013-11-07 13:39:05 -08:00
James Tanner
3b1854c5b2 Merge pull request #4413 from jerm/ansible
Add capability to pass in a PATH prefix to run_command and allow pip module
to utilize that to make virtualenv bin/ available in pip installs
2013-11-07 15:51:27 -05:00
James Tanner
f7db64d69b Merge pull request #4307 from damianmoore/mysql_gzip_bzip2_support
Add support for compressing mysql dumps and extracting during import.
2013-11-07 15:07:59 -05:00
jctanner
ca63f59ce2 Merge pull request #4835 from sivel/rax-clb
Add module to create Rackspace Cloud Loadblancers. Fixes #4794
2013-11-07 11:15:23 -08:00
Matt Martz
f597cb2b62 Rename rax_clb to rax_clb_nodes in docs and examples 2013-11-07 12:56:59 -06:00
jctanner
b760a04274 Merge pull request #4603 from claco/rax_network_module
Add rax_network module
2013-11-07 10:49:06 -08:00
Matt Martz
7153753600 If you try to delete a balancer that isn't there, don't blow up 2013-11-07 10:46:50 -06:00
Matt Martz
9a1adb1772 Updates to rax_clb module 2013-11-07 10:42:15 -06:00
Christopher H. Laco
adca8d0dd8 Added replacement rax_clb that does LB detailed creation 2013-11-07 10:42:15 -06:00
Christopher H. Laco
a7d84ed5d3 Renamed rax_clb to rax_clb_nodes since it's node management and not clb creation 2013-11-07 10:42:15 -06:00
jctanner
876d6108c6 Merge pull request #4358 from eslng/apt_add_dpkg_options
apt: allow specifying dpkg options
2013-11-07 08:31:51 -08:00
jctanner
e7a71a1649 Merge pull request #4489 from cove/devel
add docker module
2013-11-07 07:00:23 -08:00
jctanner
8f3a1d4c09 Merge pull request #4440 from AndydeCleyre/patch-2
Set default of 'yes' for update_cache, as is in the documentation
2013-11-07 06:46:13 -08:00
James Tanner
39fdb934be Add doc example for lineinfile without a regexp parameter 2013-11-06 18:51:31 -05:00
James Tanner
f8eea4e155 Merge pull request #4660 from kolbyjack/lineinfile_no_regexp 2013-11-06 18:43:10 -05:00
James Tanner
3ae95c8953 Fix merge conflict 2013-11-06 18:38:01 -05:00
James Tanner
e62cbba1fc Address #4573 Check interface keys and return gracefully on solaris zones 2013-11-06 18:11:22 -05:00
jctanner
83b00e60e3 Merge pull request #4776 from jlaska/ec2_wait_on_terminate
Honor wait on ec2 instance termination
2013-11-06 12:02:00 -08:00
Christopher H. Laco
b414a3af6f Update module based on upstream feedback
- Remove deleted state
- Use dict() instead of raw hash
- Wrap or statements in parens instead of backslash line continuations
- Change instances to networks in module return result
2013-11-06 12:36:47 -06:00
Christopher H. Laco
dc30f4c1bf Add rax_network module
Based on the refactor work @sivel is doing, adding a rax_network module
to create/delete networks in the Rackspace Public Cloud.

See: https://github.com/ansible/ansible/issues/4577
2013-11-06 12:36:46 -06:00