Commit graph

5122 commits

Author SHA1 Message Date
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
Michael DeHaan
3f0820faae Merge pull request #2797 from ciupicri/devel-rpm
Fixed some RPM packaging issues
2013-04-27 12:24:15 -07:00
Ingo Gottwald
9b3d52cb62 apt module cache_valid_time documentation fix 2013-04-27 21:23:13 +02:00
Cristian Ciupitu
a6acd70c67 ansible.spec: update Source0 & Url
The source archive is "tar.gz", not "tar.bz2".
The new home is http://ansible.cc
2013-04-27 21:55:03 +03:00
Cristian Ciupitu
aec26bb72d Revert "Updated ansible.spec should now work for CentOS 5 and CentOS 6"
make rpm did not work on Fedora 18
This reverts commit ea39454f98.

Conflicts:
	packaging/rpm/ansible.spec
2013-04-27 21:53:24 +03:00
Michael DeHaan
d709c47a64 Merge pull request #2795 from Tinche/lineinfile-doc
[Trivial][Doc] Lineinfile documentation fix.
2013-04-27 10:23:07 -07:00
Matt Coddington
3b8f69bac8 add pid to log 2013-04-27 13:00:02 -04:00
Stoned Elipot
75b51f79b4 Add module path library/ if it exists in role directory 2013-04-27 18:43:56 +02:00
Michael DeHaan
75cf5c985b Allow playbook tags to be comma seperated strings as well as lists 2013-04-27 12:29:32 -04:00
Tin Tvrtkovic
adc1113ac9 Trivial lineinfile documentation fix. 2013-04-27 18:09:26 +02:00
Michael DeHaan
0fd3af8c3c Document regex patterns. 2013-04-27 12:04:22 -04:00
Michael DeHaan
099e7b39a9 use lookup macro rather than with to demonstrate lookup plugins 2013-04-27 11:59:33 -04:00
Michael DeHaan
a61824470d Update gitignore 2013-04-27 11:55:31 -04:00
Michael DeHaan
b6a8d402c5 Document variables are reserved. 2013-04-27 11:54:30 -04:00
Michael DeHaan
bcac289667 Cows don't need to display brackets around strings. 2013-04-27 11:50:53 -04:00
Michael DeHaan
016b04dff1 Merge branch 'roles_dir_search_order' of git://github.com/mcodd/ansible into devel 2013-04-27 11:46:29 -04:00
Brian Coca
caf6bd6ce5 Changed atomic_replace to atomic_move, now ti DOES move atomically in the last
step
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-04-27 11:46:08 -04:00
Michael DeHaan
f876d51c66 Merge pull request #2758 from lonerr/service
FreeBSD startup scripts (rc) supports optional arguments.
2013-04-27 08:38:53 -07:00
Michael DeHaan
6148e1daad Merge branch 'testing_427' into devel 2013-04-27 11:35:56 -04:00
Michael DeHaan
17f3cb6dde Merge branch 'yum-module' of git://github.com/Tinche/ansible into testing_427 2013-04-27 11:34:58 -04:00
Michael DeHaan
b8fdcff524 Merge branch 'nocows' of git://github.com/jpmens/ansible into devel
Conflicts:
	lib/ansible/callbacks.py
	lib/ansible/constants.py
2013-04-27 11:34:39 -04:00
Michael DeHaan
1a4d801cdb Merge branch 'testing_427' into devel 2013-04-27 11:28:46 -04:00
Michael DeHaan
553751aee1 Merge branch 'numeric_ids_refactor' of git://github.com/insom/ansible into testing_427 2013-04-27 11:21:30 -04:00
Michael DeHaan
c83bdc1a8d Add virt guest creation to virt module docs 2013-04-27 11:20:35 -04:00
Michael DeHaan
2e57c40cc2 Merge pull request #2702 from DazWorrall/devel
Add define command to virt module
2013-04-27 08:15:48 -07:00
Dag Wieers
77e4909166 Implement python-dmidecode/dmidecode as alternative for kernel DMI
This implementation falls back to python-dmidecode (RHEL5.5+) if the kernel as no DMI support. Alternatively, if python-dmidecode is missing, we attempt to use the dmidecode binary (for RHEL5.4 and older) before giving up.

This fixes #376 and #1657 and also helps @lwade on RHEL5.5+.
2013-04-27 11:14:14 -04:00