Commit graph

5099 commits

Author SHA1 Message Date
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
John Jarvis
e5d9dad205 Parameter and variable naming issues 2013-05-03 06:55:06 -04:00
John Jarvis
a45b312907 changing arg name for consistency, absent/present for registration 2013-05-02 21:29:36 -04: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
Kahlil (Kal) Hodgson
cabd40b0aa add docs for 'when: var is defined' idiom 2013-05-03 08:57:31 +10: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
Ralph Tice
918de8d6dc amended s3 plugin to support 'dest' parameter to allow uploading to custom location 2013-05-02 14:27:12 -05:00
Lorin Hochstein
c66b724817 Document: sudo works per-task too
Document that you can use sudo at the task level as well
2013-05-02 15:14:53 -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
shirou
f79be1e0bc Add notification/hipchat module.
This module can send a message via hipchat (https://www.hipchat.com/).
2013-05-02 23:23:40 +09: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
John Jarvis
e625155cd5 doc update 2013-04-30 09:03:31 -04:00
John Jarvis
70b61f13e4 marking the state changed only when there are ELBs to work on 2013-04-30 09:00:10 -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
John Jarvis
e9254fbc5a Adding module to de-register/register EC2 instances
This module handles AWS EC2 ELB registration.

* De-registration requires the instance id which can be looked up using
  the ec2_facts module.
* Registration requires both the instance id and the elbs that the
  instance belongs to.

De-registration will return an ec2_elb fact that can be used for
registration in post_tasks.
2013-04-29 23:40:17 -04: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