Lorin Hochstein
8c9cceacbf
authorized_key: Set manage_dir default value
...
This commit fixes a bug where the authorized_key module causes
the ~user/.ssh directory to be owned by root instead of the user,
when the manage_dir argument is not specified.
If the manage_dir argument was not specified, the module behaved as if
manage_dir was set to false, even though it's supposed to default to
true.
This module assumed that an optional argument, with no default
specified, will not be present in the module.params dictionary.
What actually seems to happen is that the argument does appear in
the module.params dictionary with a value of None.
The upside is that this line was evaluating to None instead of
true:
manage_dir = params.get("manage_dir", True)
I fixed the problem in this particular module by explicitly specifying
the default value for the manage_dir arugment. But if this bug
occurred because of a change in behavior in AnsibleModule, then other
modules may be broken as well.
2013-05-30 16:16:14 -04:00
Michael DeHaan
8050110ba2
Not sure why RPM was trying to avoid certain files starting with f. Change that.
2013-05-29 14:21:25 -04:00
Michael DeHaan
b5ed926720
Add AWS doc to table of contents.
2013-05-29 14:17:32 -04:00
Michael DeHaan
f9a14f0d70
Fixup fetch doc formatting.
2013-05-29 10:45:31 -04:00
Michael DeHaan
267b29cec7
Manpage tweaks, docs rebuild
2013-05-29 10:30:04 -04:00
Michael DeHaan
efee2e2630
Some tweaks to EC2 docs
2013-05-29 10:25:54 -04:00
Michael DeHaan
383b8ce14a
Merge branch 'awsdocs' of git://github.com/lwade/ansible into devel
2013-05-29 10:15:02 -04:00
Michael DeHaan
01a2384cdd
Minor style tweak.
2013-05-29 10:14:47 -04:00
Jeremiah Heller
7de718cd51
Fix copy when force=no and update _remote_md5 docs.
...
Previously setting force=no caused copy to subversively
fail when target did not exist on remote host.
Caused by Runner._remote_md5 returning 1
when files don't exist, rather than 0.
2013-05-29 10:14:47 -04:00
Timothy Appnel
3e774fedea
Modified assemble module so the dest file is streamed together rather than built-in memory before writing.
2013-05-29 10:14:47 -04:00
Michael DeHaan
1f8d319753
Merge pull request #3000 from mvo5/devel
...
document in the man-page that {ansible,ansible-playbook} -M can also be ...
2013-05-29 07:04:40 -07:00
Michael DeHaan
a581077b4d
Merge branch 'facter-fix' of git://github.com/flyapen/ansible into devel
2013-05-29 10:00:20 -04:00
Michael DeHaan
2908687a7b
This plugin is not quite ready as it needs to support --host <hostname> and --list, like the other inventory plugins, but we should get this tweaked and include it once it is standardized. Watch this space!
2013-05-29 09:58:29 -04:00
Michael DeHaan
bf309e1cd0
Merge pull request #2982 from markmandel/devel
...
Vagrant external inventory plugin
2013-05-29 06:56:44 -07:00
Michael DeHaan
2c433cb707
Add an example of Jinja2 casting.
2013-05-29 09:43:32 -04:00
Michael DeHaan
575967cee4
Merge pull request #3038 from jsmartin/riak_bugfixes
...
Riak bugfixes
2013-05-29 06:38:31 -07:00
Guillaume Lasmayous
1c0e01a72b
Implement NetBSD-specific subclass of Hardware in the setup module.
...
Defines memory and CPU facts:
- memfree_mb
- memtotal_mb
- swapfree_mb
- swaptotal_mb
- processor (a list)
- processor_cores
- processor_count
- devices
As a matter of fact, on NetBSD, it is possible to get memory, swap and
processor facts exactly as on Linux. Tested on NetBSD-5, NetBSD-6 and
NetBSD-6.1 (without Linux emulation).
2013-05-29 09:37:46 -04:00
Michael DeHaan
ebf28ff856
Merge pull request #2867 from cstorey/rabbitmq_user-node-parameter
...
Allow specification of erlang node name for rabbitmq_user/vhost/parameter actions.
2013-05-29 06:35:09 -07:00
Michael DeHaan
6d7bf811b1
Merge pull request #3047 from kavink/devel
...
Avoid crash in module_common when the file cannot be moved/copy
2013-05-29 04:33:39 -07:00
Kavin Kankeshwar
8217e0706f
Avoid crash in module_common when the file cannot be moved/copy
2013-05-29 00:03:12 -07:00
Michael DeHaan
dbfad567bc
Merge pull request #3041 from sergevanginderachter/performance-groups-list
...
performance optimization in inventory.groups_list()
2013-05-28 05:14:32 -07:00
Serge van Ginderachter
0c0d6c0b4e
performance optimization in inventory.groups_list()
...
don't calculate all hosts for every parent group of every group
when that parent group was already in the cache
2013-05-28 12:53:51 +02:00
James Martin
1aec4c0e74
Now can specify amount of time to wait_for_handoffs or ring ready instead of booleans.
2013-05-27 17:24:10 -04:00
James Martin
633724dc8c
Timeouts implemented for riak stats operation. Removed failback mode
...
for fetching riak stats.
2013-05-27 17:12:13 -04:00
Michael DeHaan
5ec35fa388
Merge pull request #3025 from lorin/keystone-docs
...
Documentation for keystone_user
2013-05-27 08:06:27 -07:00
Michael DeHaan
ce142be1e0
Merge pull request #3027 from sergevanginderachter/verbose_always_tag_cli
...
hide magic variables used bin/ansible output
2013-05-27 08:05:25 -07:00
Serge van Ginderachter
dd9919342b
hide magic variables used bin/ansible output
...
'verbose_override' and 'verbose_always'
2013-05-27 14:42:55 +02:00
Lorin Hochstein
b432ae5a74
Documentation for keystone_user
...
Updated the module with proper documentation.
2013-05-27 07:35:05 -04:00
Kristof Keppens
c5b40ca2ff
change fix to lookup path with get_bin_path
2013-05-27 07:38:17 +02:00
Ceri Storey
c01992b564
Update rabbitmq_user/vhost/parameter to pass the node to rabbitmqctl using -n flag to rabbitmqctl rather than setting the environment variable.
2013-05-26 14:51:50 +01:00
Michael Vogt
d7b5b47efe
improve wording, thanks to Michael DeHaan
2013-05-25 08:53:20 +02:00
Michael DeHaan
3a635d2d26
Lots of formatting fixes
2013-05-24 23:46:23 -04:00
Michael DeHaan
9c5d6f11f0
Fix tabs and spaces in OpenStack modules.
2013-05-24 23:34:48 -04:00
Michael DeHaan
e5c2d0b247
update changelog
2013-05-24 23:19:59 -04:00
Michael DeHaan
11792a9daa
Merge pull request #2987 from kentfrazier/sudo_user
...
Fix bug with include-level vars and sudo_user.
2013-05-24 20:08:04 -07:00
Michael DeHaan
b499f0754e
Merge pull request #2986 from wbowling/devel
...
Fixes apt_repository always reporting file uri repos as changed
2013-05-24 20:07:03 -07:00
Michael DeHaan
82909179a0
Merge pull request #2976 from stoned/pip-virtualenv_command-pathname
...
Allow virtualenv_command argument of the pip module to be a pathname
2013-05-24 20:01:12 -07:00
Michael DeHaan
698b2fe9c5
Merge pull request #2992 from SirScott/service_pattern
...
Fixes #2991 : Service module pattern argument ignored.
2013-05-24 19:58:42 -07:00
Michael DeHaan
84623441e1
Merge pull request #2945 from jsmartin/new_fetch
...
Fetch destination path can now be overriden.
2013-05-24 19:57:19 -07:00
Michael DeHaan
4fc6be8579
Merge pull request #2993 from SirScott/pkgng
...
Make pkgng and with_items result in a single module call.
2013-05-24 19:55:56 -07:00
Michael DeHaan
e68894ea45
Merge pull request #2975 from stoned/doc-pip-fix
...
Fix pip module documentation (YAML quoting)
2013-05-24 19:55:14 -07:00
Michael DeHaan
4b988dbd43
Merge pull request #2978 from bryanlarsen/basename
...
add basename and dirname to the core jinja2 filters
2013-05-24 19:54:36 -07:00
Michael DeHaan
27236cf598
Merge pull request #2998 from SirScott/runner-permissions
...
Ensure the tmp_path is sufficiently open.
2013-05-24 19:52:23 -07:00
Michael DeHaan
e3af9258ae
Merge pull request #2995 from SirScott/pip-sudo-user
...
pip module -- sudo_user permission problem fix
2013-05-24 19:51:38 -07:00
Michael DeHaan
c397969ca3
Merge pull request #3001 from SirScott/user-always-changing
...
Fixes #2924 : User creation always reports 'changed'
2013-05-24 19:50:48 -07:00
Michael DeHaan
159ba7d68a
Merge pull request #2956 from akerl/unicodefix
...
ignore unicode errors in stdout
2013-05-24 19:46:25 -07:00
Michael DeHaan
9d92125a93
Merge pull request #2989 from lorin/keystone_user
...
OpenStack Identity (keystone) user module
2013-05-24 19:39:52 -07:00
Michael DeHaan
6ed01d2d9c
Merge pull request #2985 from bennojoy/devel
...
OpenStack Modules
2013-05-24 19:38:19 -07:00
Michael DeHaan
2459255739
Merge pull request #3016 from bpennypacker/airbrake_deployment
...
new airbrake_deployment module
2013-05-24 19:37:49 -07:00
Michael DeHaan
98a4331107
Merge pull request #2999 from ngrilly/python
...
Python
2013-05-24 19:36:47 -07:00