Commit graph

4942 commits

Author SHA1 Message Date
Brian Coca
3ac6c45499 generalized cleanup function, in case modules want to use
removed return code as it doesn't make sense anymore
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-05-05 13:26:29 -04:00
Michael DeHaan
29d1b08db4 Merge pull request #2839 from LucianoCavalheiro/devel
Fix #2836. Ensure proper handling of option "system=yes" in module "grou...
2013-05-04 17:43:13 -07:00
Luciano Cavalheiro da Silva
d18d2de18e Fix #2836. Ensure proper handling of option "system=yes" in module "group". 2013-05-04 21:24:02 -03:00
Gilles Cornu
68f7ea6099 Apply Gilles's patch to atomic_move based on github comment. (Email address not supplied
since wasn't from a pull request)
2013-05-04 19:31:52 -04:00
Brian Coca
bdeb370d79 fixed case in which move fails after remote user copies file and sudo to non root does the move
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-05-03 21:58:27 -04:00
Michael DeHaan
c3547a2308 Moar SELinux. 2013-05-03 10:39:24 -04:00
Michael DeHaan
fb7bfa61a9 Fix SELinux context on atomic_move 2013-05-03 10:18:55 -04:00
Michael DeHaan
4ecc7ea2e0 Merge pull request #2817 from sfromm/issue2810
Set selinux context on file after shutil.move in atomic_move()
2013-05-03 06:45:42 -07:00
Michael DeHaan
7cd1bc9628 Merge pull request #2832 from rektide/fix-openvz-venet-ipv6
Fix setup module's handling of venet & unknown ipv6 interfaces
2013-05-02 17:44:50 -07:00
rektide
4f21dc4cd1 Duplicate pull #2803 in ipv6, fixing setup module's handling of venet & unknown interface types. 2013-05-02 17:19:22 -04:00
Michael DeHaan
ce67588dcf Fix module doc organization 2013-05-02 11:35:24 -04:00
Michael DeHaan
627b6a0455 Have 1.2 clear in docs 2013-05-02 11:31:51 -04:00
Michael DeHaan
66c52b3308 Merge pull request #2826 from tgerla/devel
Fix up a couple of references to 'only_if' and change them to 'when'
2013-05-02 06:50:22 -07:00
Tim Gerla
bdf50d1fb7 Fix up a couple of references to 'only_if' and change them to 'when' 2013-05-02 09:22:08 -04:00
Michael DeHaan
fc8e8231d7 Merge pull request #2823 from iat00/devel
typo
2013-05-02 05:21:09 -07:00
Michael DeHaan
3d60ee899c Merge pull request #2825 from sergevanginderachter/firstfound-ossep
remove hardcoded unix dir separator in first_found
2013-05-02 05:20:55 -07:00
Serge van Ginderachter
53a7ab74c8 use os.path.join instead of hardcoded unix separator in first_found lookup plugin 2013-05-02 13:58:23 +02:00
Afsin Toparlak
9699e086d7 typo 2013-05-01 23:11:19 +02:00
Stephen Fromm
50e94e4a2f Set selinux context on file after shutil.move in atomic_move()
This is intended to fix #2810.  It sets the context of the tmp_dest file
after shutil.move() operation and before os.rename().  This should
retain the selinux context of the file across moves.
2013-04-30 10:15:09 -07:00
Michael DeHaan
2cf30148ba Test for the existance of a file that might not be present on older RHEL. 2013-04-30 09:26:25 -04:00
Michael DeHaan
627a84387e Merge pull request #2812 from leucos/patch-2
Updates Arch PKGBUILD
2013-04-30 05:10:37 -07:00
Michael DeHaan
733bf3bd9f Merge pull request #2811 from jpmens/ansibledoc
ansible-doc: skip directories (new library/ format)
2013-04-30 05:10:10 -07:00
Michel Blanc
cd852309ea Updates Arch PKGBUILD
Recurse in subdirectories to handle the new libs layout.
Updated on AUR.
2013-04-30 10:18:44 +03:00
Jan-Piet Mens
2f76bc9e47 ansible-doc: skip directories (new library/ format) 2013-04-30 08:31:39 +02:00
Michael DeHaan
3789ac3784 Merge pull request #2807 from tonk/devel
Fix the RPM building
2013-04-29 17:26:07 -07:00
Michael DeHaan
c554339a0f Merge pull request #2809 from piffey/uri_fix
Fixed bug where if destination was unspecified, changed would not be set...
2013-04-29 17:24:05 -07:00
Michael DeHaan
4ce6eca8b3 Slight tweak to set_fact variable documentation to clarify scope info. 2013-04-29 19:15:29 -04:00
Piffey Parlance
99196024dd Fixed bug where if destination was unspecified, changed would not be set, resulting in an UnboundLocalError. 2013-04-29 13:59:06 -05:00
Ton Kersten
8e54817f50 Squashed commit of the following:
commit c1f92093c8fa985c35d2fbcbb9171d82842983dd
Author: Ton Kersten <github@tonkersten.com>
Date:   Mon Apr 29 19:23:42 2013 +0200

    Fixed RPM building for 1.2
2013-04-29 19:24:41 +02:00
Michael DeHaan
c15d52cc07 Merge pull request #2804 from tonk/devel
Fixed the installation of library directories
2013-04-29 05:27:29 -07:00
Ton Kersten
17586bafee commit 290ecfcdc2fa6dcbee8328130c85916fdebd5152
Author: Ton Kersten <github@tonkersten.com>
Date:   Mon Apr 29 10:44:30 2013 +0200

    Fixed the installation of library directories

    When running install the `setup.py` give error

    changing mode of /usr/bin/ansible-doc to 755
    running install_data
    error: can't copy './library/utilities': doesn't exist or not a regular file
    make: *** [install] Error 1

    Debugging 'benno' came up with this patch, which works on CentOS 6.4 and
    on Ubuntu.
2013-04-29 10:50:12 +02:00
Michael DeHaan
7117ca5395 Allow modules in a "./library" directory to be referenced by their shortforms "modulename:" instead of just "action: modulename" 2013-04-28 21:05:19 -04:00
Michael DeHaan
e90023281d Slightly refine log output to include username in addition to pid. 2013-04-28 20:57:32 -04:00
Michael DeHaan
ba8f2fca26 Merge branch 'add_pid_to_logging' of git://github.com/mcodd/ansible into devel 2013-04-28 20:52:53 -04:00
Stoned Elipot
df3c4849e9 Also load Jinja2 extensions when processing template from string 2013-04-28 20:52:01 -04:00
Michael DeHaan
d7933522fb Merge pull request #2803 from therealprologic/devel
Fixed setup module to accomodate venet interfaces (OpenVZ)
2013-04-28 17:48:09 -07:00
James Mills
efc5a83f66 Fixed setup module to accomodate venet interfaces (OpenVZ) 2013-04-29 10:08:24 +10:00
Michael DeHaan
4bea9a612f Don't use "finally" here as it's not 2.4 compliant. 2013-04-28 16:03:03 -04:00
Michael DeHaan
68f711d5ae teach plugin loader to find modules in subdirectories 2013-04-28 15:22:46 -04:00
Michael DeHaan
391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
Michael DeHaan
f46bdb6343 update changelog 2013-04-28 10:16:21 -04:00
Michael DeHaan
a81089231e Register skipped tasks so we can at least check their changed/not-changed status. 2013-04-28 10:13:58 -04:00
Michael DeHaan
7d302c42e6 Upstart, how do I love thee. Let me count the ways. 0. 2013-04-28 09:29:31 -04:00
Michael DeHaan
5742e5dd4b Merge pull request #2800 from tartansandal/env_bug
fix arguments to isinstance() in env lookup
2013-04-28 05:40:36 -07:00
Kahlil (Kal) Hodgson
9f90f0e856 fix arguments to isinstance() in env lookup 2013-04-28 14:58:26 +10:00
Michael DeHaan
fcc2a753b7 Merge pull request #2799 from j2sol/flavor-int
Fix instance idempotence
2013-04-27 15:19:23 -07:00
Jesse Keating
12e9a9c2e1 Remove errant debugging code
This should have never made it in.
2013-04-27 15:13:59 -07:00
Jesse Keating
670f59a458 Make sure we compare flavor IDs as ints
We were comparing an int to a string and getting things wrong, so
idempotence was lost. This forces the comparison to be int.
2013-04-27 15:13:01 -07:00
Michael DeHaan
9abd31b15f Merge pull request #2794 from stoned/role-library
Add module path library/ if it exists in role directory
2013-04-27 13:12:08 -07:00
Michael DeHaan
91a467bca3 Spec version should be 1.2 2013-04-27 15:25:07 -04:00