James Cammarata
7ae03f8342
Merge branch 'amenonsen-addresses' into devel
9 years ago
James Cammarata
a1fffff92c
Merge branch 'addresses' of https://github.com/amenonsen/ansible into amenonsen-addresses
9 years ago
Abhijit Menon-Sen
62ca6b5e35
Remove deprecation warning; now handled in _split_patterns
9 years ago
Abhijit Menon-Sen
575a8b8c77
Merge Host.ipv[46]_address into .address
...
The earlier distinction was never used; .ipv6_address was always a copy
of .ipv4_address, and the latter was always used to set the remote_addr
field in the PlayContext.
Also uses the canonical ansible_host/ansible_port names when setting the
address and port from variables.
9 years ago
James Cammarata
cc4601258d
Merge branch 'amenonsen-hostpatterns' into devel
9 years ago
James Cammarata
951128d7a6
Merge branch 'hostpatterns' of https://github.com/amenonsen/ansible into amenonsen-hostpatterns
9 years ago
Abhijit Menon-Sen
713f5ab79d
Merge pull request #1 from mcsalgado/hostpatterns
...
More tests, better handling of list arguments to _split_pattern
9 years ago
Victor Salgado
14fefebaad
Modify _split_pattern to use map when working with list input
9 years ago
Victor Salgado
01ae60d524
Add more tests for _split_pattern for when the input is a list
9 years ago
James Cammarata
46baed864f
Submodule update after correcting doc bug
9 years ago
James Cammarata
0beb37a121
Submodule update
9 years ago
James Cammarata
6fabcafbf1
Adding new module os_user_group to CHANGELOG
9 years ago
James Cammarata
d875699ac2
Merge branch 'apollo13-sudo_on_if_needed' into devel
9 years ago
James Cammarata
ba82e57445
Merge branch 'sudo_on_if_needed' of https://github.com/apollo13/ansible into apollo13-sudo_on_if_needed
9 years ago
Toshio Kuratomi
8532ddd5ed
typo in formatting the warning message
9 years ago
Toshio Kuratomi
4ae5512fb0
Restore python3 compat fix and fix AnsibleError undefined before use
9 years ago
James Cammarata
c881b1acae
Merge pull request #12407 from mgedmin/py3k
...
Python 3: basestring in play_context.py
9 years ago
James Cammarata
8acbc00853
Fixing groups variable structure to match v1
...
Fixes #12418
9 years ago
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
Florian Apolloner
d9f873495e
Ported over #7158 to support SELinux context switches.
9 years ago
Florian Apolloner
8548690ca3
Added a test to ensure that sudo is only used if remote and become user difer.
9 years ago
Brian Coca
24388421c2
Merge pull request #12417 from OddEssay/retry_files_documentation
...
Documentation for retry_files_enabled and retry_files_save_path
9 years ago
Brian Coca
ee840f3029
fixed function signature
9 years ago
Paul Freeman
87fc5640d4
Comments to explain retry_files_enabled and retry_files_save_path
9 years ago
Paul Freeman
f14c617084
Documentation for retry_files_enabled and retry_files_save_path
9 years ago
Florian Apolloner
decd9e8710
Only use become if the target user difers from the current remote user.
9 years ago
Marius Gedminas
5d3d53e890
Fix example formatting
9 years ago
Marius Gedminas
8243954dcd
Python 3: basestring in play_context.py
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