Commit Graph

16330 Commits (76bd9e9239d38c6247900a7ffc74d28f2fc184f7)
 

Author SHA1 Message Date
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
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