Commit Graph

5460 Commits (a4dfc14a6c7e95d17d47fc2cc0a4849547555154)
 

Author SHA1 Message Date
Michael Vogt 6acf9a9b3b use statvfs.f_bavail to match the output of "df -B1" 11 years ago
Michael DeHaan ee6ea97435 Merge pull request #3082 from pol/devel
Handle '#' in var strings by splitting on ' #'
11 years ago
Michael Vogt 73a12b04a4 add "size_{total,free}" to the "mount" facts 11 years ago
Pol Llovet 4432c01ceb Handle '#' in var strings by splitting on ' #'
If someone has a " #" in a quoted var string, it
will interpret that as a comment and refuse to
load the inventory file due to an unbalanced
quote. Noisy failure > unexpected behavior.
11 years ago
John Gosset 424109d8de Added optional dependencies for fireball mode to PKGBUILD. 11 years ago
Shahar Kedar fe6ca38bec Issue #3079: Initializing key_exists in case the S3 bucket does not exist 11 years ago
Michael DeHaan 4a5b567f0c Merge pull request #3078 from bennojoy/devel
bug fix nova_compute
11 years ago
bennojoy 0b93c68d57 bug fix nova_compute 11 years ago
Michael DeHaan 7628ccbfe4 Merge pull request #3075 from dahpgjgamgan/doc_yaml_fix
advanced playbooks docs yaml snippets always use ---
11 years ago
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.
11 years ago
Jan Duzinkiewicz 8ebd1792eb advanced playbooks docs yaml snippets always use --- 11 years ago
Chris Gardner 1b8adab2cc Add Solaris network facts. IPv4 and IPv6 both working. 11 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.
11 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.
11 years ago
Michael DeHaan b8630d2bc4 Merge pull request #3067 from pol/devel
Remove inline comments from inventory tokenizing.
11 years ago
Pol Llovet ba78360c52 Remove inline comments from inventory tokenizing. 11 years ago
Michael DeHaan ad1a02aa55 Merge pull request #3064 from sfromm/issue2990
Verify /proc/modules is readable (issue #2990)
11 years ago
Michael DeHaan 77ffef5379 Merge pull request #3065 from sfromm/issue2983
Use get_bin_path to find mkfs command (issue #2983)
11 years ago
Stephen Fromm 00b3a450c7 Verify /proc/modules is readable (issue #2990) 11 years ago
Stephen Fromm 3127bab6d6 Use get_bin_path to find mkfs command (issue #2983) 11 years ago
Michael DeHaan 0c03a5cfc2 Merge pull request #3049 from stoned/cmd-expanduser-once
No need to expanduser() command's chdir argument twice
11 years ago
Michael DeHaan 27640de0a3 Merge pull request #3058 from markmandel/devel
Updated vagrant external plugin
11 years ago
Chris Gardner 2b71ab6765 Fix typo. Solaris 9 should now correctly ignore 'brand' and use 'implementation'. 11 years ago
Chris Gardner 88115f4ab2 TODO: Separate IPv4 and IPv6 11 years ago
Mark Mandel 18f8fe1149 Update vagrant external inventory file to handle multiple boxes, and --list and --host params. 11 years ago
Michael DeHaan e75ab08e3d Merge pull request #3054 from maxamillion/maxamillion/docsite
provide link to older docs when mentioning older docs
11 years ago
Michael DeHaan 0741ca3d81 Merge pull request #3055 from kubicek/freebsd
Add some FreeBSD facts
11 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.
11 years ago
Chris Gardner 6809b56233 Add Solaris network facts. IPv6 details overwrite IPv4 per interface, needs further work. 11 years ago
Michael DeHaan 3163109681 Update changelog 11 years ago
Michael DeHaan 07361375b5 Fix version added field in modules. 11 years ago
Michael DeHaan 53c490f453 Merge pull request #3050 from lorin/os-grizzly-only
Document: OpenStack inventory script needs grizzly
11 years ago
Michael DeHaan fd77804bff Merge pull request #3017 from sergevanginderachter/roles-script
Add roles support for the script module
11 years ago
Michael DeHaan 44e32cc45e Some formatting fixes so docs will build, etc. 11 years ago
Michael DeHaan 250bcaff03 Fix docs build causing parse error message. 11 years ago
Michael DeHaan 5e8923c04f use EXAMPLES vs examples (easier to format) 11 years ago
Michael DeHaan f7cabfe64e use EXAMPLES vs inline examples (easier to format) 11 years ago
Michael DeHaan b7485ea4d6 Merge pull request #3046 from dstoflet/devel
Adding monit module to start/stop/monitor/unmonitor process via monit
11 years ago
Michael DeHaan 02e772bb29 Merge pull request #3032 from thaumos/devel
Pagerduty and Pingdom modules for core
11 years ago
Adam Miller 80bf5d49fe provide link to older docs when mentioning older docs 11 years ago
Michael DeHaan a9fcea5893 Merge branch 'escape' of git://github.com/ngrilly/ansible into repr 11 years ago
Michael DeHaan 0a28358ebc Minor docs tweak. 11 years ago
Michael DeHaan c9b2df619b Merge pull request #3043 from mvo5/feature/document-facts
Feature/document facts
11 years ago
Michael DeHaan 31b31a12e7 Merge pull request #3052 from chelsea/devel
Updated loop documentation with explicit example of hash usage
11 years ago
Michael DeHaan 7350d61ad0 Merge pull request #3053 from maxamillion/maxamillion/docsite
fix ambiguous use of automatically automatic in Roles docs
11 years ago
Adam Miller 33870745b1 fix ambiguous use of automatically automatic in Roles docs 11 years ago
Chelsea Robb b8045bc29e Updated loop documentation with explicit example of hash usage 11 years ago
Chris Gardner f482649cbb Add clock speed to processor description for SPARC CPU. 11 years ago
Michael DeHaan 8050110ba2 Not sure why RPM was trying to avoid certain files starting with f. Change that. 11 years ago
Michael DeHaan b5ed926720 Add AWS doc to table of contents. 11 years ago