Commit Graph

1961 Commits (d47e15a1f222d059703582da200fc5172ffde973)
 

Author SHA1 Message Date
Michael DeHaan 1bd9ea6440 Merge pull request #1062 from dagwieers/wait_for-fix
Fix on older python versions, plus various improvements
12 years ago
Dag Wieers 8912258016 Fix on older python versions, plus various improvements
This change includes:

 - (on possibly older python versions ?) a string variable test using the 'is' operator fails (so it always return ok immediately after initial delay)
 - add a missing socket.settimeout() for the state=started case (if the machine does not exist, timeout defaults to 60 seconds)
 - add a connect_timeout option to customize the default connection timeout
 - use socket.shutdown(2) to close immediately
 - return the elapsed time
12 years ago
Michael DeHaan 4cd3262f50 Merge pull request #1054 from jpmens/geturl_doc1
First attempt at standardizing DOCUMENTATION string
12 years ago
Michael DeHaan e039d88438 Merge pull request #1061 from copperlight/fix-make-error
fix Makefile date command error on OSX
12 years ago
Matthew Johnson 5072ed3bd3 date parsing for OSX is BSD-like 12 years ago
Michael DeHaan b2af95e4a6 Change $FILE{} and $PIPE{} to $FILE() and $PIPE() 12 years ago
Michael DeHaan 57f6ad458a update changelog 12 years ago
Michael DeHaan e1ecb95b3d Delete test that was coded against *local* resolv.conf -- obviously not going to be the same between people's computers 12 years ago
Michael DeHaan 08b70949c7 Fix a test and a typo in an example 12 years ago
Aleksej Romanov eefe66f1cc Squashed commit of the following:
commit 80a26a8175b779b707bc08e9d28c451c30ee4ada
Merge: b25b9fd 61e9b27
Author: Michael DeHaan <michael.dehaan@gmail.com>
Date:   Tue Sep 18 21:01:47 2012 -0400

    Merge branch 'devel' of git://github.com/alopropoz/ansible into file-force

commit 61e9b27df2
Merge: 3f6f329 16bf3e1
Author: Aleksej Romanov <alopropoz2@yandex.ru>
Date:   Thu Sep 13 20:48:02 2012 +0700

    Merge remote branch 'upstream/devel' into devel

commit 3f6f3291df
Author: Aleksej Romanov <alopropoz2@yandex.ru>
Date:   Thu Sep 13 20:41:31 2012 +0700

    'force' option for 'file' module.

commit 6223bba941
Author: Aleksej Romanov <alopropoz2@yandex.ru>
Date:   Thu Sep 13 20:40:19 2012 +0700

    changed = True when changing symlink referent, #1008. Needed for tests.
12 years ago
Michael DeHaan b25b9fd840 Merge pull request #1058 from jkleint/devel
Support iteration over command output in with_items.
12 years ago
Michael DeHaan 544a8e44d7 Merge pull request #1053 from dhozac/varreplace-include
Allow including files through variables
12 years ago
Jan-Piet Mens e041c2e2cd First attempt at standardizing DOCUMENTATION string (new DICT) 12 years ago
Michael DeHaan e7e68e69c2 Move patch notes to CONTRIBUTING.md 12 years ago
Michael DeHaan a478e5c981 update contributing file 12 years ago
Michael DeHaan 086400cde0 Add CONTRIBUTING doc since github now supports this. 12 years ago
Michael DeHaan d77be4eecf Merge pull request #1052 from romeotheriault/add-SunOSVirtual-facts
Adding SunOSVirtual facts
12 years ago
Michael DeHaan 5da4ab2d90 Merge pull request #1051 from sfromm/wile-e-coyote
Add pkg_mgr fact to setup (take 2)
12 years ago
Michael DeHaan d5b8553d1c Merge pull request #1056 from dhozac/task-transport
Allow transport on tasks, and use it for local_action
12 years ago
John Kleint 2a002f5c0b Support iteration over command output in with_items.
When the output of a command is stored in a register, this will create a
stdout_lines field in the result object that contains stdout split into a list
of lines.  This list can then be iterated over using with_items.
12 years ago
Daniel Hokka Zakrisson dd11b01350 Keep delegate_to so all auxiliary logic based on that works 12 years ago
Daniel Hokka Zakrisson 9e78b10ae3 Add test data file 12 years ago
Daniel Hokka Zakrisson 5bb0f6908b Allow transport on tasks, and use it for local_action 12 years ago
Daniel Hokka Zakrisson bf47bb4753 Allow including files through variables
$FILE{file} will be replaced with the contents of "file"
$PIPE{cat file} will be replaced with the output of "cat file"
12 years ago
Romeo Theriault d72eaa3fc5 Adding SunOSVirtual facts 12 years ago
Stephen Fromm 65fe7b7003 Update package manager fact innards to a list of dicts 12 years ago
Stephen Fromm 94eb11a6d7 Add pkg_mgr fact to setup
This should help facilitate playbook decision making that are not
strictly distribution specific, but more package manager.
12 years ago
Michael DeHaan 7df0e5259f Merge pull request #1038 from bcoca/atomic_copy2
Atomic copy2
12 years ago
Michael DeHaan 70777f044d Merge pull request #1047 from lotia/get_url_require_thirsty_if_dest_is_dir
Make get_url module always return dest.
12 years ago
Michael DeHaan 4cffdbbc56 Merge pull request #1049 from copperlight/ansible-pull_example_logrotate
add logrotate config
12 years ago
Matthew Johnson 0f5a4e2112 add logrotate config 12 years ago
Ali Asad Lotia c0aac03b0c url_get module returns dest
The url_get module now includes the destination in the returned JSON.
12 years ago
Ali Asad Lotia 99746d4a83 Indicate thirsty argument required if dest is dir.
The check for the destination being a directory is now done before
checking if the file exists, that way the user is informed that the
thirsty argument is required.
12 years ago
Michael DeHaan 16bf3e15c7 Merge pull request #1042 from dhozac/yum-install-rpm
Invoke is_installed correctly from rpm path
12 years ago
Daniel Hokka Zakrisson 56b1a8ceed Invoke is_installed correctly from rpm path 12 years ago
Brian Coca 88d1285f33 time is what i wanted, not gmtime
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
12 years ago
Brian Coca 06b914c5b3 small fix to prevent temp file from living past its succesful usage
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
12 years ago
Brian Coca f5481621f8 made copy atomic by creating tmp file in dest location (ensures same partition)
uses pid and epoch to prevent collisions, good enough for most cases
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
12 years ago
Michael DeHaan e7eab93243 Update changelog 12 years ago
Michael DeHaan 04555f525e Fix a test from a previous pull request. 12 years ago
Michael DeHaan 58ad934283 Merge pull request #1024 from tima/groups-pb
Made $groups and $group_names variables accessible in with_items
12 years ago
Michael DeHaan 1829d519b5 Merge pull request #1030 from lorin/import-playbook-pathfix
Support import of playbooks in other directories
12 years ago
Michael DeHaan d7f83471ae Merge pull request #1032 from mavimo/patch-2
Add support for ./ansible.cfg file
12 years ago
Michael DeHaan 522a3b5974 Merge pull request #1033 from jkleint/hosts-list-fix
Fix inventory.get_hosts when hosts is a list.
12 years ago
John Kleint 1f8696f5c1 Fix inventory.get_hosts when hosts is a list. 12 years ago
Marco Vito Moscaritolo 0cdd081b53 Add support for ./ansible.cfg file
Ansible support configuration in:
```
~/.ansible.cfg
/etc/ansible/ansible.cfg
```

this patch add current user (usefull where user have some different projects) with the oreder:
```
./ansible.cfg
~/.ansible.cfg
/etc/ansible/ansible.cfg
```
12 years ago
Timothy Appnel 9d5a79f586 Made groups.groupname and group_names variables accessible in playbooks.
Also modified code that feeds the groups data structure to templates so
that it resolves groups inside of groups to hostnames.
12 years ago
Lorin Hochstein b9e100a506 Support import of playbooks in other directories
Previously, importing a playbook in a different directory didn't
work because all of the relative paths were resolved relative to
the top-level playbook.

This patch resolves relative paths on a per-play level instead of
relative to the directory of the top-level playbook.

Also removes the dirname argument from the Play._get_vars method
since this argument wasn't used in the metho dbody.
12 years ago
Michael DeHaan 565f336182 lineinfile should use 'search' everywhere 12 years ago
Michael DeHaan 14a9c3ab9e Line in file regexep should match a portion of the line, not the whole line! 12 years ago