1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

6631 commits

Author SHA1 Message Date
r-p-e
338ecdd578 Simplify the selection of date command
- use egrep patterns to detect BSDs in one ifeq
- use seconds-since-epoch as input for BSD date (-r option)
- get seconds-since-epoch from git log with "%at" format string
2013-09-15 21:27:18 +02:00
Michael DeHaan
f93ef96a08 Merge pull request #4115 from r-p-e/devel
Add some more OpenBSD facts
2013-09-15 10:29:40 -07:00
Michael DeHaan
5c0dd958e5 Merge pull request #4028 from willthames/lineinfile_userdir
Expand tilde in paths in file module
2013-09-15 09:33:49 -07:00
Michael DeHaan
00c0770f1b Merge pull request #4075 from sayap/easy_install
Locate easy_install path after (optionally) creating virtualenv.
2013-09-15 09:29:51 -07:00
r-p-e
2f887c6dca Add some more OpenBSD facts
added:
 * ansible_distribution
 * ansible_distribution_release
 * ansible_distribution_version
2013-09-15 17:58:29 +02:00
Michael DeHaan
a563ea1340 Update CONTRIBUTING.md 2013-09-13 21:26:49 -04:00
Michael DeHaan
81155ee29f Update CONTRIBUTING.md 2013-09-13 21:03:33 -04:00
Michael DeHaan
7f972522c8 Update CONTRIBUTING.md 2013-09-13 20:47:22 -04:00
Michael DeHaan
33e80a812c Update CONTRIBUTING.md
edit doc some more, remove line break
2013-09-13 20:28:57 -04:00
Michael DeHaan
44724206d1 Update CONTRIBUTING.md 2013-09-13 20:28:26 -04:00
Michael DeHaan
970bf3a45a Update README.md 2013-09-13 20:28:00 -04:00
Michael DeHaan
7c09ba1173 Update CONTRIBUTING.md
formatting, add twitter link
2013-09-13 20:25:02 -04:00
Michael DeHaan
7495ad5a21 Update CONTRIBUTING.md
word wrap and formatting
2013-09-13 20:23:44 -04:00
Michael DeHaan
87d9462d99 Update CONTRIBUTING.md
Convert URLs to short form hyperlinks
2013-09-13 20:19:04 -04:00
Michael DeHaan
8b4fbcbb97 Update CONTRIBUTING.md
URL formatting
2013-09-13 20:16:22 -04:00
Michael DeHaan
9a0b09f792 Update CONTRIBUTING.md
Github formatting fixups
2013-09-13 20:15:42 -04:00
Michael DeHaan
b0efae1aac Update CONTRIBUTING.md
Add URLs to mailing lists instead so it's obvious on how to subscribe
2013-09-13 20:12:53 -04:00
Michael DeHaan
e9810bcd1e Update CONTRIBUTING.md 2013-09-13 20:10:50 -04:00
James Cammarata
8283183023 Adding sshpass as packaging requirement and fixing VERSION 2013-09-13 17:39:14 -05:00
Michael DeHaan
2ddbc82639 Update Debian changelog for 1.4 builds. 2013-09-13 17:32:53 -04:00
Michael DeHaan
1f0eb32846 Update 1.4 specfile -- no need for node fireball package, release dates 2013-09-13 17:31:34 -04:00
Michael DeHaan
0bd0326faa Update releases.txt 2013-09-13 17:26:14 -04:00
James Cammarata
35d138a0d6 When checking conditionals, don't dereference when the variable contains dashes
Fixes #4104
2013-09-13 13:52:58 -05:00
James Cammarata
d0236f6ada Check for link in path in utils.path_dwim_relative()
This allows an included path to be relative to a directory, if the
basedir of the original path is a symlink. In that case, the path
is normalized and the file is searched for in the normalized path.

Fixes #3312
2013-09-12 20:44:10 -05:00
Thomas Jost
dfb10e646e Add Archlinux "distribution" fact 2013-09-12 11:55:08 +02:00
James Cammarata
0d408ff295 Use low-level package objects in the apt module to check installed state
Packages which are half-installed are not adequately represented by
the .is_installed field of the apt.package.Package object. By using the
lower-level apt_pkg.Package object (which provides the .current_state
field), we can check for a partially-installed state more accurately.

Fixes #3421
2013-09-11 23:33:59 -05:00
James Cammarata
d2bf244eb8 Merge branch 'fix_changed_for_yum_group' of https://github.com/hnakamur/ansible into hnakamur-fix_changed_for_yum_group 2013-09-11 16:47:58 -05:00
James Cammarata
72eaa0570e Allow service module to manage services not ending in .service
Fixes #3417
2013-09-11 15:48:36 -05:00
James Cammarata
5110b2d440 Slight refactorization of the sysctl module
* Added in support for freebsd-style sysctl commands
* Replaced some functionality that was provided by module_common
* Simplified some logic in a couple of places (ie, not checking
  a split with len() but instead limiting the split to 1)

Fixes #3380
2013-09-11 13:15:17 -05:00
Michael DeHaan
c6067edae6 Remove YAML inventory example. 2013-09-11 08:40:51 -04:00
James Cammarata
3e9b63febd Compare exploded values in the sysctl module to avoid whitespace errors
Fixes #3931
2013-09-10 23:24:24 -05:00
James Cammarata
b2741f451e Fixes to the service module for Ubuntu 12.04 (LTS)
Fixes #3615
Fixes #3572
2013-09-10 22:19:15 -05:00
James Cammarata
9a3a3e648b Check for systemd ownership of a service even if an init.d script exists
Also slight modification to the error message in the earlier commit that
modified the update-rc.d detection portion of the code

Fixes #3474
2013-09-10 19:37:51 -05:00
Hiroaki Nakamura
4d2c2a262a Add an example for installing a group with the yum module. 2013-09-11 02:14:16 +09:00
Hiroaki Nakamura
caa68746ae Fix to getchanged correctly for yum groupinstall. 2013-09-11 02:10:53 +09:00
James Cammarata
7c8aa669cf Minor fix to account for template service names in systemctl 2013-09-10 11:31:13 -05:00
James Cammarata
6c3af4df81 Fix for update-rc.d based systems that also have systemd installed
By default, the service module had assumed that if the system had the
update-rc.d binary, the service was either managed via upstart or standard
sysV init-style scripts. This patch adds a check for systemctl ahead
of the other methods when update-rc.d is detected, and also simplifies
the logic around the detection of systemctl-managed services
2013-09-10 11:15:30 -05:00
Yap Sok Ann
498c2665de Locate easy_install path after (optionally) creating virtualenv.
Without this, the first call to the easy_install module with a new virtualenv
will only create the virtualenv without installing the intended package, since
the `_is_package_installed` check will succeed as running /usr/bin/easy_install
as non-root user will return permission denied error with empty stdout.
2013-09-10 11:22:06 +08:00
Hiroaki Nakamura
2357194b39 Add failed_when module variable.
Implementation note: Ternery operator trick for python prior to 2.5 is used.
(test and [when_true_value] or [when_false_value])[0]
http://stackoverflow.com/questions/394809/ternary-conditional-operator-in-python#comment1466794_394887
2013-09-10 08:34:01 +09:00
James Cammarata
808d9596b2 Fixing typos in is_keyid function definition and usage
Fixes #4068
2013-09-09 17:26:44 -05:00
Serge van Ginderachter
4f9af7efad subelements lookup plugin 2013-09-09 23:45:55 +02:00
James Cammarata
b3c0e3e45e Revert "Styling: deprecation"
This reverts commit ecc2b6e742.

Fixes #4069
2013-09-09 15:17:43 -05:00
James Cammarata
8d0487c31e Removing broken tests for now 2013-09-09 15:16:17 -05:00
James Cammarata
75a9357e5e Fixing role variable precedence for top-level roles
Fixes #4026
Fixes #3989
2013-09-09 15:14:03 -05:00
James Cammarata
294451d002 Correctly handle variable issues when evaluating jinja2 when statements
Fixes #4025
2013-09-09 14:50:21 -05:00
James Cammarata
af139cd56a Merge branch 'file_fixes' of https://github.com/bcoca/ansible into bcoca-file_fixes 2013-09-09 10:29:11 -05:00
James Cammarata
150dd230cc Merge branch 'kavink-devel' into devel 2013-09-09 10:22:03 -05:00
James Cammarata
bcc2a4b513 Minor fix so the any_errors_fatal value is checked properly 2013-09-09 10:20:41 -05:00
James Cammarata
4025695c00 Merge branch 'devel' of https://github.com/kavink/ansible into kavink-devel 2013-09-09 10:00:29 -05:00
Michael DeHaan
59099b7607 Merge pull request #4065 from CharlesBlonde/nova_wait_for_bug
Nova_compute wait_for fixes
2013-09-09 07:48:21 -07:00