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

2971 commits

Author SHA1 Message Date
Michael DeHaan
3cc564c127 Merge branch 'devel' of https://github.com/SleeplessAnnoyedNerd/ansible into devel 2012-08-11 11:48:57 -04:00
Michael DeHaan
d1ad1d2508 remove stray print 2012-08-11 11:41:40 -04:00
Michael DeHaan
de21cb27d8 Remove tests that involve network effects -- makes things faster and they are not really deep tests here either way. 2012-08-11 11:38:45 -04:00
Michael DeHaan
259f2dc4de Various retooling of the internal code behind inventory pattern matching in support of pending support
for host ranges.
2012-08-11 11:36:59 -04:00
Dietmar Schinnerl
ac44c36e4f Removed unnecessary string replacements since parse_json already filters garbage lines 2012-08-11 16:57:04 +02:00
Dietmar Schinnerl
6b622beb4d Added filtering of non-JSON lines. 2012-08-11 16:24:16 +02:00
Dietmar Schinnerl
fbdddc7c74 Added utils.last_non_blank_line 2012-08-11 16:14:19 +02:00
Dietmar Schinnerl
993bb5c6f1 Added stub implementation of filters 2012-08-11 15:55:14 +02:00
Dietmar Schinnerl
bfed87df80 Removed leading blanks 2012-08-11 15:49:00 +02:00
Dietmar Schinnerl
6a18075640 Issue #848: Closing stdin after we read from stdout 2012-08-11 15:13:07 +02:00
Ahmad Khayyat
916fcdb93b Add openvz detection to virtualization facts, and some cleanup 2012-08-11 08:33:43 -04:00
Ahmad Khayyat
f0a8e13628 Update doc string and minor cleanup 2012-08-11 06:39:22 -04:00
Ahmad Khayyat
7950dd01e5 Recognize interface aliases in network facts, and add IP facts 2012-08-11 06:20:32 -04:00
Michael DeHaan
1c81ddf8d4 add the limit option, which can be used to further confine the patterns selected by "hosts:" in ansible-playbooks
to an additional pattern (a subset) specified on the command line.  For instance, a playbook could be reusable
and target "webservers" and "dbservers", but you want to test only in the stage environment, or a few boxes at a time.
2012-08-10 02:45:29 -04:00
Michael DeHaan
1f3e22687e rebuild 2012-08-10 01:24:32 -04:00
Michael DeHaan
10c89f4d49 Merge pull request #181 from mattupstate/master
Add notes about easy_install and pip
2012-08-10 18:22:37 -07:00
Matt Wright
41e524eb58 Add notes about easy_install and pip 2012-08-10 10:35:27 -04:00
Michael DeHaan
05a128c2be Add ability to store and access module results later on in the play. See examples/playbooks/register_logic for details. 2012-08-10 01:13:37 -04:00
Michael DeHaan
6c5761a79e Store the ${last_result} for each host to make it usable in only_if conditionals and such. 2012-08-10 00:58:53 -04:00
Michael DeHaan
58e099b91b update changelog 2012-08-10 00:39:19 -04:00
Michael DeHaan
c7888dd642 Given user report that EL5 sudo does not support '--', remove it, and things seem to still work fine.
let me know if this breaks any other boxes.
2012-08-10 00:15:23 -04:00
Michael DeHaan
df53801e0f fix doc example 2012-08-10 00:07:10 -04:00
Michael DeHaan
02ba5a48e0 Merge branch 'cleanup-imports' of https://github.com/jdavisp3/ansible into devel 2012-08-10 00:05:04 -04:00
Michael DeHaan
36527ca9d5 Merge pull request #838 from sfromm/issue825
Update file module to not recurse when setting ownership
2012-08-10 17:02:23 -07:00
Michael DeHaan
a7415e5409 Merge pull request #836 from sfromm/rawfixes
Fixes for raw module usage and failure to open_session()
2012-08-10 17:01:47 -07:00
Michael DeHaan
535e3f138f Merge pull request #845 from zecrazytux/bugfix/pip2
Bugfix/pip2
2012-08-10 17:00:53 -07:00
Sébastien Bocahu
487d07a845 Fix variable scope 2012-08-10 21:58:58 +02:00
Sebastien Bocahu
a3ff6b1958 Fix unneeded bashism
Signed-off-by: Sebastien Bocahu <sebastien@ispfr.net>
2012-08-10 15:57:51 +02:00
Stephen Fromm
94696fb88e Update file module to not recurse when setting ownership
This updates set_owner_if_different() and set_group_if_different()
to not implicitly recurse when setting ownership (whether user or
group).  It drops the os.system() call and replaces it with os.chown().
Resolves issue #825.

The recursion should be explicit.  A recurse=yes|no option should be
added to the file module.
2012-08-09 22:59:39 -07:00
Stephen Fromm
569d377183 Wrap paramiko open_session() call in try/except
Ran across non-unix host where the call to paramiko's open_session() in
exec_command() would throw a EOFError exception.  This change wraps the
block in a try/except.
2012-08-09 21:47:09 -07:00
Stephen Fromm
f9bdfde614 Fixes for runner and raw module
runner should not try to create or remove tmp paths when using the raw
module.
2012-08-09 21:45:00 -07:00
Dave Peticolas
08272dc25d Remove unused imports. 2012-08-09 21:35:22 -07:00
Michael DeHaan
ce9401beda fix typo 2012-08-09 22:13:24 -04:00
Michael DeHaan
b721176bdd rebuild 2012-08-09 22:12:10 -04:00
Michael DeHaan
2befb446a3 Merge branch 'RefreshBestPractices' of https://github.com/tbielawa/ansible.github.com 2012-08-09 22:11:42 -04:00
Michael DeHaan
f4245ee5f0 add versionadded info to new modules 2012-08-09 22:10:57 -04:00
Michael DeHaan
331cfa6b36 rebuild 2012-08-09 22:10:57 -04:00
Michael DeHaan
ea3bf960aa rebuild 2012-08-09 22:10:57 -04:00
Tim Bielawa
688086c54a Add consistent versionadded/deprecated tags. 2012-08-09 22:10:57 -04:00
Tim Bielawa
391acfb20c Freshen up the examples page. 2012-08-09 22:10:57 -04:00
Michael DeHaan
af762446a1 Merge pull request #172 from tbielawa/RefreshNotes
Refresh the use of 'note' to make it consistent.
2012-08-09 19:05:43 -07:00
Michael DeHaan
54a9f17b25 formatting/rebuild 2012-08-09 22:04:34 -04:00
Michael DeHaan
fc7591eeaa Merge pull request #175 from mattupstate/apt_repository
Add apt_repository documentation
2012-08-09 19:02:48 -07:00
Michael DeHaan
b1c6990129 rebuild 2012-08-09 22:01:58 -04:00
Michael DeHaan
3e296ae3aa Merge pull request #174 from anotherjesse/master
correct hacking/test-module arguments
2012-08-09 19:01:42 -07:00
Michael DeHaan
04cc44bf17 Merge pull request #176 from mattupstate/pip
Add pip module documentation
2012-08-09 19:01:18 -07:00
Michael DeHaan
4581c19fa0 rebuild 2012-08-09 22:00:45 -04:00
Michael DeHaan
b3f0678f2d fix tags and reuse of link name (annoying habit of sphinx to require uniqueness in HREFs) 2012-08-09 22:00:19 -04:00
Michael DeHaan
a29d532711 Merge pull request #178 from anotherjesse/link_resources
link ansible resources
2012-08-09 18:58:45 -07:00
Michael DeHaan
50e95372d3 Merge pull request #177 from mattupstate/easy_install
Add basic easy_install module documentation
2012-08-09 18:57:04 -07:00