Commit graph

15176 commits

Author SHA1 Message Date
bryan hunt
7a76fcb159 merged 2015-07-27 11:57:58 +01:00
James Cammarata
3a4dd523d3 Fix bug where we calculated the relative path of recurisive copies wrong
Fixes #11470
2015-07-27 02:29:38 -04:00
James Cammarata
a1a8997e89 Merge pull request #11663 from whereismyjetpack/fix_ansible_ssh_host
only set ansible_ssh_host if not already set
2015-07-26 23:46:21 -04:00
Brian Coca
a56ff7ae54 now it really is oneline 2015-07-26 23:14:07 -04:00
Brian Coca
5d1d9f1505 fixed diff output to be as it was in 1.x, copy and template now use the same
functions to do difs.
2015-07-26 22:29:56 -04:00
James Cammarata
c56a304ad9 Merge pull request #9195 from reedloden/add-dns-facts
Add several DNS-related facts by parsing /etc/resolv.conf
2015-07-26 14:59:55 -04:00
James Cammarata
ccb7fb3b4c Submodule pointer update 2015-07-26 14:41:49 -04:00
James Cammarata
034c766439 Fixing logic in template.py to not assume 'changed' is in the result 2015-07-26 13:57:25 -04:00
James Cammarata
a78ed39f93 Merge pull request #11743 from renard/regex_escape-filter
Regex escape filter
2015-07-26 13:52:01 -04:00
James Cammarata
db4b3544d7 Fix syntax error in action plugin template.py 2015-07-26 13:49:27 -04:00
Reed Loden
eb1fb41576 Add several DNS-related facts by parsing /etc/resolv.conf
Facts include nameservers, domain, search path, sortlist, and options.
2015-07-26 10:46:59 -07:00
Sébastien Gross
c0b7fcd304 Add documentation for regex_escape filter 2015-07-26 19:08:34 +02:00
Sébastien Gross
36534668f0 Change name from re_escape to regex_escape to fit existing function names. 2015-07-26 19:03:56 +02:00
Sébastien Gross
c1e4085251 Add regular expression escaping filter. 2015-07-26 19:03:27 +02:00
Brian Coca
0b6fadaad7 started implementing diff
diff now works with template
also fixed check mode for template and copy
2015-07-26 12:22:22 -04:00
James Cammarata
d11e07a0e5 Merge pull request #11738 from amenonsen/7485-rebase
Have ec2.py expand tilde and vars when looking up the EC2_INI_PATH env variable
2015-07-26 11:11:02 -04:00
Andrew Hamilton
7f45c9edf7 Have ec2.py expand tilde and vars when looking up the EC2_INI_PATH env variable 2015-07-26 12:57:56 +05:30
James Cammarata
73aa5686cc Remove octal escapes from unicode escape handling
Fixes #11673
2015-07-25 16:30:11 -04:00
Brian Coca
5be384bab0 Merge pull request #11733 from amenonsen/csvfile
v2 breakage: lookupfile should lookup the given file=xxx
2015-07-25 11:53:22 -04:00
Brian Coca
6c1f4ddf7e Merge pull request #11736 from mscherer/fix_9971
Add more explicit documentation on ansible_nodename and ansible_hostname
2015-07-25 11:43:25 -04:00
Brian Coca
c7c5b40aa8 Merge pull request #11735 from mscherer/fix_10273
Document and test 'is undefined' rather than 'is not defined'
2015-07-25 09:56:15 -04:00
Brian Coca
b19eb0f4dc minor improvements to display 2015-07-25 09:15:33 -04:00
Michael Scherer
c2c20baf01 Add more explicit documentation on ansible_nodename and ansible_hostname
Fix #9971, based on text from Paul Czarkowski
2015-07-25 14:27:59 +02:00
Brian Coca
0dc1cbd6b9 Merge pull request #9524 from ktosiek/patch-1
guide_rax.rst: fix add_host invocations
2015-07-25 08:27:29 -04:00
Michael Scherer
106e942faa Document and test 'is undefined' rather than 'is not defined'
According to https://github.com/ansible/ansible/issues/10273,
this syntax should work better for nested dicts.
2015-07-25 14:05:27 +02:00
JustInVTime
8156ad3760 Delimiter param must be a string 2015-07-25 15:47:13 +05:30
Abhijit Menon-Sen
8737061a8f lookupfile should lookup the given file=xxx
(Earlier it used to lookup the pre-split term.)
2015-07-25 15:38:26 +05:30
James Cammarata
8509f22839 Merge pull request #11731 from danasmera/devel
Delete unused import glob
2015-07-25 02:47:58 -04:00
James Cammarata
eca88d4253 Merge pull request #11732 from amenonsen/9212-rebase
Forbid copy: content="" with a directory destination
2015-07-25 02:47:19 -04:00
Mario de Frutos
4ed664f4d0 Forbid copy: content="" with a directory destination
Fixes #9107, closes PR #9212
2015-07-25 11:21:14 +05:30
danasmera
966193e233 Delete unused import glob 2015-07-24 23:57:38 -04:00
Brian Coca
b9710b4a34 wrapped new system ssh key lookup in case file does not exist 2015-07-24 23:54:13 -04:00
Brian Coca
491b5fea6a Merge pull request #11730 from amenonsen/7730-rebase
Have paramiko use /etc/ssh_known_hosts (#7730 rebase)
2015-07-24 23:47:26 -04:00
Patrick Michaud
e4df8c3d36 Have paramiko use /etc/ssh_known_hosts
Fixes an issue with a confusing error: "paramiko: The authenticity of host '[host]' can't be established" when ssh on the command line doesn't complain

Closes PR #7730
2015-07-25 09:09:28 +05:30
Brian Coca
0858d97c44 also captures typeerrors for when not getting a proper string in output 2015-07-24 18:43:40 -04:00
Brian Coca
8ace659d4c Merge pull request #10524 from TwoD/arch
Added installation instructions for Arch Linux.
2015-07-24 18:33:21 -04:00
Henrik Danielsson
c5d2db9c88 Added note about Python 2 for Arch Linux and a link to the ArchWiki page. 2015-07-25 00:08:26 +02:00
Toshio Kuratomi
8ee3b7384d Guard the PROTOCOL setting so that we work on older pythons 2015-07-24 15:07:02 -07:00
Toshio Kuratomi
36382face9 Add a warning about mode being octal 2015-07-24 14:52:21 -07:00
James Cammarata
eccfb7e0b5 Adding initial support for includes in handlers
Fixes #11694
2015-07-24 16:22:02 -04:00
Brian Coca
7215470c6f implemented galaxy list in v2 2015-07-24 16:18:55 -04:00
Will Thames
9abd9a8f57 Make ansible-galaxy work with galaxy.ansible.com
Now works with role files that use Ansible Galaxy roles
Still work to do on making this work with internal roles
2015-07-24 16:04:10 -04:00
James Cammarata
014f3e8f7a Merge pull request #11722 from amenonsen/tagdocs
Clarify that tagging an include/role tags every task within
2015-07-24 15:29:09 -04:00
Brian Coca
587a327647 Merge pull request #11495 from xmj/devel
docsite/rst/intro_configuration.rst: reword Title.
2015-07-24 15:15:00 -04:00
Brian Coca
92516f9d11 extend conditions for async error
fixes #11207
2015-07-24 15:11:35 -04:00
Abhijit Menon-Sen
50d0d99ba6 Clarify that tagging an include/role tags every task within
Closes #11361
2015-07-25 00:21:06 +05:30
Brian Coca
6e2aca2261 Merge pull request #11670 from jody-frankowski/update-intro-inventory-params
Fix intro_inventory documented params. Update for the new 'become' system
2015-07-24 14:40:43 -04:00
Brian Coca
cff77de917 added todo for future of feature 2015-07-24 12:00:38 -04:00
Brian Coca
0089eb8102 reimplemented logging based on log_path var 2015-07-24 12:00:38 -04:00
James Cammarata
ff49c5adac Make sure we're actually looping before looking at 'results' in TaskResult
Fixes #11696
2015-07-24 11:55:22 -04:00