Abhijit Menon-Sen
349eec7855
Fix missing colon (typo) in IPv6 pattern
9 years ago
Abhijit Menon-Sen
b47bc343ea
Document , instead of : in intro_patterns, update changelog
9 years ago
Abhijit Menon-Sen
abd006657b
Add test/units/inventory with a few _split_pattern tests
...
There were no inventory-specific unit tests earlier, so we add a new
directory for them with some initial low-level tests of _split_pattern
with various valid and deprecated pattern strings.
9 years ago
Abhijit Menon-Sen
2405861a9e
Use ',' instead of ':' or ';' to separate host patterns
...
The earlier-recommended "pat1:pat2:pat3[x:y]" notation doesn't work well
with IPv6 addresses, so we recommend ',' as a separator instead. We know
that commas can't occur within a pattern, so we can just split on it.
We still have to accept the "foo:bar" notation because it's so commonly
used, but we issue a deprecation warning for it.
Fixes #12296
Closes #12404
Closes #12329
9 years ago
Toshio Kuratomi
3db8070aa3
Fix urlopen usage to use open_url instead
...
Add a travis test for urlopen usage
9 years ago
James Cammarata
e97d448838
Cleanup one more missed inventory bug
9 years ago
James Cammarata
5db9e38377
Merge pull request #12345 from mgedmin/py3k
...
Python 3: two more instances of 'basestring'
9 years ago
Chris Church
43b15ab9a4
Merge pull request #12385 from cchurch/winrm_put_empty_file
...
Enable winrm put_file to upload an empty file.
9 years ago
Chris Church
93af0b327f
Merge pull request #12384 from cchurch/powershell_strict_mode
...
Add PowerShell exception handling and turn on strict mode.
9 years ago
James Cammarata
0685262d06
Merge pull request #12397 from lambeau/devel
...
Fix spelling
9 years ago
Chris Church
0325f92b6a
Merge pull request #12054 from cchurch/winrm_options
...
Support additional options for WinRM connections via inventory variables
9 years ago
Chris Church
c5409ab493
Remove ansible_winrm_ host/port/user/pass options, update exception handling around establishing a winrm connection.
9 years ago
Chris Church
056c6b77d0
Support additional options for WinRM connections via inventory variables.
9 years ago
James Cammarata
11c27078c0
Cleaning up inventory bugs from earlier group change
9 years ago
Chris Church
8b56bc1c01
Merge pull request #12051 from cchurch/winrm_pass_cmd_as_is
...
Pass windows command as-is without splitting/rejoining parameters.
9 years ago
Chris Church
1d15e8f37a
Pass windows command as-is without splitting/rejoining parameters.
...
* Fixes extra spaces added between parameters from https://github.com/ansible/ansible-modules-core/issues/1929
* Correctly decode PowerShell command encoded as UTF-16-LE so that it displays correctly in debug messages, fixes the other issue from https://github.com/ansible/ansible-modules-core/issues/1929
* Add test to verify that script parameters are passed as-is, so $true is interpreted as a boolean, fixes https://github.com/ansible/ansible/issues/10947
9 years ago
Chris Church
87db5119ea
Merge pull request #12049 from cchurch/win_group_tests
...
Add integration tests for win_group module.
9 years ago
Chris Church
b44e02143a
Merge pull request #12050 from cchurch/test_win_msi_creates
...
Add tests for creates parameter to win_msi module.
9 years ago
James Cammarata
da9fc9cffb
Merge pull request #12399 from jkugler/patch-3
...
Fixing a small typo
9 years ago
James Cammarata
b44bc608e7
Merge pull request #12400 from mcsalgado/dict_default_argument
...
Fix mutable default argument
9 years ago
Victor Salgado
54f1560d3e
Fix mutable default argument
9 years ago
Joshua Kugler
3004e9bec8
Fixing a small typo
...
Just adding a missing letter.
9 years ago
James Cammarata
33e79203ce
Merge branch 'quinot-topic/crash_empty_inventory' into devel
9 years ago
James Cammarata
24ffa5f230
Tweak sample blocks of blocks a bit more
9 years ago
James Cammarata
c8f2483d6d
Cleaning up default group creation in inventory parsers
9 years ago
Toshio Kuratomi
30552cf7e9
Fix problems with undefined references to self.display and remove method that's no longer called
9 years ago
Nathaniel Schaaf
ffc67f0a37
Fix spelling
9 years ago
James Cammarata
3f8e12d1f7
Merge pull request #12359 from cchurch/fetch_no_fail_on_missing
...
Fix fetch to not fail for missing file when fail_if_missing=False
9 years ago
James Cammarata
4429e7611b
Merge pull request #12382 from AxelDelmas/env_async
...
Added env_string in async_cmd
9 years ago
James Cammarata
719e4020e0
Merge pull request #12387 from jkugler/patch-1
...
Small change so the YAML renders as code.
9 years ago
James Cammarata
f6aa88fb77
Merge pull request #12388 from jkugler/patch-2
...
Wrong column named
9 years ago
James Cammarata
e899b8e70d
Merge branch 'topic/crash_empty_inventory' of https://github.com/quinot/ansible into quinot-topic/crash_empty_inventory
9 years ago
James Cammarata
216d63a1ea
Tweak sample blocks of blocks a bit more
9 years ago
James Cammarata
b2848bd25f
Merge pull request #12389 from amenonsen/minus-t
...
Set PlayContext.timeout from the value specified by -T on the command-line
9 years ago
James Cammarata
d91ff0db74
Fixing parent block serialization for blocks
...
Fixes #12395
9 years ago
Thomas Quinot
c005f75469
Always create 'all' group
...
Create 'all' even if host_list is empty, as this group needs to exist
when creating the implicit 'localhost' host.
Fixes #12391
9 years ago
Abhijit Menon-Sen
85bb508f26
Set PlayContext.timeout from the value specified by -T on the command-line
...
Fixes #12372
9 years ago
Joshua Kugler
d31f61e35c
Wrong column named
...
Correcting the docs to match the example, which I assume to be correct.
9 years ago
Joshua Kugler
1dc7cce910
Small change so the YAML renders as code.
...
The line above the last YAML code block in this document did not have the requisite :: characters, so the YAML did not render correctly in the docs.
9 years ago
James Cammarata
2a50957ad8
Fix galaxy install dep failure
...
Also fixes issue where force does not force reinstall of deps
Fixes #10425
9 years ago
Toshio Kuratomi
1a39e32a13
Update core modules ref
9 years ago
Chris Church
6ab4cff7db
Enable winrm put_file to upload an empty file.
9 years ago
Chris Church
5c65ee7f0c
Add PowerShell exception handling and turn on strict mode.
...
* Add exception handling when running PowerShell modules to provide exception message and stack trace.
* Enable strict mode for all PowerShell modules and internal commands.
* Update common PowerShell code to fix strict mode errors.
* Fix an issue with Set-Attr where it would not replace an existing property if already set.
* Add tests for exception handling using modified win_ping modules.
9 years ago
James Cammarata
a1948dd1c1
Merge branch 'bcoca-normalize_plugin_paths' into devel
9 years ago
James Cammarata
a7e1113b26
Removing FIXME comment which is no longer required
9 years ago
James Cammarata
d818a72375
Merge branch 'normalize_plugin_paths' of https://github.com/bcoca/ansible into bcoca-normalize_plugin_paths
9 years ago
Axel Delmas
4802641de7
Added env_string in async_cmd
9 years ago
James Cammarata
60c139e482
Fix logic for changed/failed_when + retry/until loops
...
Fixes #11809
9 years ago
James Cammarata
8e664ad226
Fix delegate_to localhost vs. 127.0.0.1 (and ::1)
9 years ago
James Cammarata
38573c55bf
Tweak failure condition for field attributes expected to be strings
9 years ago