trbs
b537aff586
Fix for #3062 additional groups should only be added once.
...
Also consolidated duplicate groups code into one get_groups_set() method.
Removed unused call to user_group_membership.
Removed sorting operations on set functions cause sets are inherently unordered.
Minor style improvements to match the rest of the code.
The new function will make the order of group names passed to the system command less determistic.
Which was already the case for modify_user_usermod() but not for other methods.
It will also strip out duplicate group names automatically which was not always the case previously.
2013-05-30 19:18:18 -04:00
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
b8630d2bc4
Merge pull request #3067 from pol/devel
...
Remove inline comments from inventory tokenizing.
2013-05-30 13:16:14 -07:00
Pol Llovet
ba78360c52
Remove inline comments from inventory tokenizing.
2013-05-30 14:12:23 -06:00
Michael DeHaan
ad1a02aa55
Merge pull request #3064 from sfromm/issue2990
...
Verify /proc/modules is readable (issue #2990 )
2013-05-30 11:12:30 -07:00
Michael DeHaan
77ffef5379
Merge pull request #3065 from sfromm/issue2983
...
Use get_bin_path to find mkfs command (issue #2983 )
2013-05-30 11:12:14 -07:00
Stephen Fromm
00b3a450c7
Verify /proc/modules is readable (issue #2990 )
2013-05-30 10:25:48 -07:00
Stephen Fromm
3127bab6d6
Use get_bin_path to find mkfs command (issue #2983 )
2013-05-30 10:25:35 -07:00
Michael DeHaan
0c03a5cfc2
Merge pull request #3049 from stoned/cmd-expanduser-once
...
No need to expanduser() command's chdir argument twice
2013-05-30 05:48:47 -07:00
Michael DeHaan
27640de0a3
Merge pull request #3058 from markmandel/devel
...
Updated vagrant external plugin
2013-05-30 05:47:02 -07:00
Chris Gardner
2b71ab6765
Fix typo. Solaris 9 should now correctly ignore 'brand' and use 'implementation'.
2013-05-30 08:51:03 +01:00
Chris Gardner
88115f4ab2
TODO: Separate IPv4 and IPv6
2013-05-30 08:39:11 +01:00
Mark Mandel
18f8fe1149
Update vagrant external inventory file to handle multiple boxes, and --list and --host params.
2013-05-30 14:16:58 +10:00
Michael DeHaan
e75ab08e3d
Merge pull request #3054 from maxamillion/maxamillion/docsite
...
provide link to older docs when mentioning older docs
2013-05-29 16:55:30 -07:00
Michael DeHaan
0741ca3d81
Merge pull request #3055 from kubicek/freebsd
...
Add some FreeBSD facts
2013-05-29 16:55:00 -07:00
Jiří Kubíček
5cb0525430
Add some FreeBSD facts
...
added:
* ansible_distribution
* ansible_distribution_release
* ansible_distribution_version
* ansible_os_family
* ansible_pkg_mgr
* ansible_ssh_host_key_ecdsa_public
Also adds ECDSA public key for all plaforms.
2013-05-30 01:34:33 +02:00
Chris Gardner
6809b56233
Add Solaris network facts. IPv6 details overwrite IPv4 per interface, needs further work.
2013-05-30 00:06:57 +01:00
Michael DeHaan
3163109681
Update changelog
2013-05-29 19:01:01 -04:00
Michael DeHaan
07361375b5
Fix version added field in modules.
2013-05-29 18:56:48 -04:00
Michael DeHaan
53c490f453
Merge pull request #3050 from lorin/os-grizzly-only
...
Document: OpenStack inventory script needs grizzly
2013-05-29 15:54:49 -07:00
Michael DeHaan
fd77804bff
Merge pull request #3017 from sergevanginderachter/roles-script
...
Add roles support for the script module
2013-05-29 15:54:18 -07:00
Michael DeHaan
44e32cc45e
Some formatting fixes so docs will build, etc.
2013-05-29 18:43:23 -04:00
Michael DeHaan
250bcaff03
Fix docs build causing parse error message.
2013-05-29 18:37:31 -04:00
Michael DeHaan
5e8923c04f
use EXAMPLES vs examples (easier to format)
2013-05-29 18:35:47 -04:00
Michael DeHaan
f7cabfe64e
use EXAMPLES vs inline examples (easier to format)
2013-05-29 18:35:47 -04:00
Michael DeHaan
b7485ea4d6
Merge pull request #3046 from dstoflet/devel
...
Adding monit module to start/stop/monitor/unmonitor process via monit
2013-05-29 15:32:59 -07:00
Michael DeHaan
02e772bb29
Merge pull request #3032 from thaumos/devel
...
Pagerduty and Pingdom modules for core
2013-05-29 15:30:51 -07:00
Adam Miller
80bf5d49fe
provide link to older docs when mentioning older docs
2013-05-29 17:29:59 -05:00
Michael DeHaan
a9fcea5893
Merge branch 'escape' of git://github.com/ngrilly/ansible into repr
2013-05-29 18:29:16 -04:00
Michael DeHaan
0a28358ebc
Minor docs tweak.
2013-05-29 18:27:16 -04:00
Michael DeHaan
c9b2df619b
Merge pull request #3043 from mvo5/feature/document-facts
...
Feature/document facts
2013-05-29 15:23:15 -07:00
Michael DeHaan
31b31a12e7
Merge pull request #3052 from chelsea/devel
...
Updated loop documentation with explicit example of hash usage
2013-05-29 15:21:19 -07:00
Michael DeHaan
7350d61ad0
Merge pull request #3053 from maxamillion/maxamillion/docsite
...
fix ambiguous use of automatically automatic in Roles docs
2013-05-29 15:20:49 -07:00
Adam Miller
33870745b1
fix ambiguous use of automatically automatic in Roles docs
2013-05-29 17:14:20 -05:00
Chelsea Robb
b8045bc29e
Updated loop documentation with explicit example of hash usage
2013-05-30 08:05:14 +10:00
Chris Gardner
f482649cbb
Add clock speed to processor description for SPARC CPU.
2013-05-29 21:00:21 +01: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
Chris Gardner
68959e7f92
Use 'implementation' if 'brand' not available (Solaris 9). Add CPU socket/core counting.
2013-05-29 18:54:43 +01:00
Lorin Hochstein
bbe352b544
Document: OpenStack inventory script needs grizzly
...
The OpenStack Inventory script uses the OS-EXT-IPS:type parameter
to distinguish between fixed and floating IP addresses.
This was only added in the Grizzly release, see
https://bugs.launchpad.net/nova/+bug/1117784
Specify in the docs that this inventory script requires Grizzly
or greater.
2013-05-29 11:38:11 -04:00
Stoned Elipot
f9cff3c444
No need to expanduser() command's chdir argument twice
2013-05-29 17:05:11 +02: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