Commit Graph

5901 Commits (5eea4b56fafffac5298a194fbfd4ce59aca0db88)
 

Author SHA1 Message Date
Maykel Moya d0843a7f55 Provide userspace_{architecture,bits} facts
When running inside a chroot userspace architecture might not
match that of the actual host.

This patch provides userspace_bits as reported by python's
platform.architecture(). Also provides userspace_architecture fact
if host is an x86 machine.
12 years ago
Jan Duzinkiewicz 8ebd1792eb advanced playbooks docs yaml snippets always use --- 12 years ago
Chris Gardner 1b8adab2cc Add Solaris network facts. IPv4 and IPv6 both working. 12 years ago
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.
12 years ago
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.
12 years ago
Michael DeHaan b8630d2bc4 Merge pull request #3067 from pol/devel
Remove inline comments from inventory tokenizing.
12 years ago
Pol Llovet ba78360c52 Remove inline comments from inventory tokenizing. 12 years ago
Michael DeHaan ad1a02aa55 Merge pull request #3064 from sfromm/issue2990
Verify /proc/modules is readable (issue #2990)
12 years ago
Michael DeHaan 77ffef5379 Merge pull request #3065 from sfromm/issue2983
Use get_bin_path to find mkfs command (issue #2983)
12 years ago
Stephen Fromm 00b3a450c7 Verify /proc/modules is readable (issue #2990) 12 years ago
Stephen Fromm 3127bab6d6 Use get_bin_path to find mkfs command (issue #2983) 12 years ago
Michael DeHaan 0c03a5cfc2 Merge pull request #3049 from stoned/cmd-expanduser-once
No need to expanduser() command's chdir argument twice
12 years ago
Michael DeHaan 27640de0a3 Merge pull request #3058 from markmandel/devel
Updated vagrant external plugin
12 years ago
Chris Gardner 2b71ab6765 Fix typo. Solaris 9 should now correctly ignore 'brand' and use 'implementation'. 12 years ago
Chris Gardner 88115f4ab2 TODO: Separate IPv4 and IPv6 12 years ago
Mark Mandel 18f8fe1149 Update vagrant external inventory file to handle multiple boxes, and --list and --host params. 12 years ago
Michael DeHaan e75ab08e3d Merge pull request #3054 from maxamillion/maxamillion/docsite
provide link to older docs when mentioning older docs
12 years ago
Michael DeHaan 0741ca3d81 Merge pull request #3055 from kubicek/freebsd
Add some FreeBSD facts
12 years ago
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.
12 years ago
Chris Gardner 6809b56233 Add Solaris network facts. IPv6 details overwrite IPv4 per interface, needs further work. 12 years ago
Michael DeHaan 3163109681 Update changelog 12 years ago
Michael DeHaan 07361375b5 Fix version added field in modules. 12 years ago
Michael DeHaan 53c490f453 Merge pull request #3050 from lorin/os-grizzly-only
Document: OpenStack inventory script needs grizzly
12 years ago
Michael DeHaan fd77804bff Merge pull request #3017 from sergevanginderachter/roles-script
Add roles support for the script module
12 years ago
Michael DeHaan 44e32cc45e Some formatting fixes so docs will build, etc. 12 years ago
Michael DeHaan 250bcaff03 Fix docs build causing parse error message. 12 years ago
Michael DeHaan 5e8923c04f use EXAMPLES vs examples (easier to format) 12 years ago
Michael DeHaan f7cabfe64e use EXAMPLES vs inline examples (easier to format) 12 years ago
Michael DeHaan b7485ea4d6 Merge pull request #3046 from dstoflet/devel
Adding monit module to start/stop/monitor/unmonitor process via monit
12 years ago
Michael DeHaan 02e772bb29 Merge pull request #3032 from thaumos/devel
Pagerduty and Pingdom modules for core
12 years ago
Adam Miller 80bf5d49fe provide link to older docs when mentioning older docs 12 years ago
Michael DeHaan a9fcea5893 Merge branch 'escape' of git://github.com/ngrilly/ansible into repr 12 years ago
Michael DeHaan 0a28358ebc Minor docs tweak. 12 years ago
Michael DeHaan c9b2df619b Merge pull request #3043 from mvo5/feature/document-facts
Feature/document facts
12 years ago
Michael DeHaan 31b31a12e7 Merge pull request #3052 from chelsea/devel
Updated loop documentation with explicit example of hash usage
12 years ago
Michael DeHaan 7350d61ad0 Merge pull request #3053 from maxamillion/maxamillion/docsite
fix ambiguous use of automatically automatic in Roles docs
12 years ago
Adam Miller 33870745b1 fix ambiguous use of automatically automatic in Roles docs 12 years ago
Chelsea Robb b8045bc29e Updated loop documentation with explicit example of hash usage 12 years ago
Chris Gardner f482649cbb Add clock speed to processor description for SPARC CPU. 12 years ago
Michael DeHaan 8050110ba2 Not sure why RPM was trying to avoid certain files starting with f. Change that. 12 years ago
Michael DeHaan b5ed926720 Add AWS doc to table of contents. 12 years ago
Chris Gardner 68959e7f92 Use 'implementation' if 'brand' not available (Solaris 9). Add CPU socket/core counting. 12 years ago
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.
12 years ago
Stoned Elipot f9cff3c444 No need to expanduser() command's chdir argument twice 12 years ago
Michael DeHaan f9a14f0d70 Fixup fetch doc formatting. 12 years ago
Michael DeHaan 267b29cec7 Manpage tweaks, docs rebuild 12 years ago
Michael DeHaan efee2e2630 Some tweaks to EC2 docs 12 years ago
Michael DeHaan 383b8ce14a Merge branch 'awsdocs' of git://github.com/lwade/ansible into devel 12 years ago
Michael DeHaan 01a2384cdd Minor style tweak. 12 years ago
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.
12 years ago