summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/commands
Commit message (Collapse)AuthorAgeFilesLines
* Fix expect for python 3 (#24912)kkjang2017-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix expect for python 3 - Change generator next to python 3 compatible - Added tests for expect * Add pexpect to integration.txt - add pexpect library to requirements for integration tests * Use ansible_python_interpreter in integration tests for expect * Use double-quotes for expect integration tests * Cast user input to string for expect integration tests * Cast user input to string earlier in expect integration tests * Use ansible.module_utils.six.moves input for expect integration tests * Fix yamllint errors in the expect test * Use cat to trigger timeout for expect integration tests * Use realpath filter in expect integration tests
* adds privilege escalation method for pmrun(Unix Privilege Manager 6.0)Kevin Clark2017-05-231-1/+1
|
* expect: Add a pointer to the shell/script modulesDag Wieers2017-05-101-23/+23
| | | | | | | This PR also includes: - DOCUMENTATION and EXAMPLES cleanup This fixes #21335
* Switch last remaining decode to to_text (#24269)Matt Martz2017-05-031-1/+1
|
* fixed RETURN docs for modules (#24011)Andrea Tartaglia2017-04-261-1/+1
| | | | | | | | * fixed RETURN docs for remaining modules * updated proxymysql_mysql_users 'sample' to yaml dict * fixed whitespace errors
* typo: psuedo -> pseudo (#23177)smaftoul2017-03-311-1/+1
|
* Removes expanduser in favor of type path (#21369)Tim Rupp2017-03-301-10/+8
| | | | Removes the usage of expanduser in favor of the type 'path' for module options. Related to #12263
* let user control "auto-de-vault" (#22739)Brian Coca2017-03-241-0/+2
| | | | | | * added option to toggle off autodevaulting * fixes per feedbazck
* E501 fixes (#22879)Matt Martz2017-03-221-1/+2
|
* New metadata 1.0 (#22587)Toshio Kuratomi2017-03-145-15/+20
| | | | | | | | | | | | | | | | Changes to the metadata format were approved here: https://github.com/ansible/proposals/issues/54 * Update documentation to the new metadata format * Changes to metadata-tool to account for new metadata * Add GPL license header * Add upgrade subcommand to upgrade metadata version * Change default metadata to the new format * Fix exclusion of non-modules from the metadata report * Fix ansible-doc for new module metadata * Exclude metadata version from ansible-doc output * Fix website docs generation for the new metadata * Update metadata schema in valiate-modules test * Update the metadata in all modules to the new version
* YAML fixes for examples in additional modulesMatt Martz2017-02-151-4/+4
|
* Validate EXAMPLES as YAMLMatt Martz2017-02-151-1/+1
|
* Advanced example using shell with other executable (#21462)Dag Wieers2017-02-151-0/+20
| | | The shell module is quite versatile in its use.
* Avoid having module documentation links to itself (#21329)Dag Wieers2017-02-135-8/+8
| | | | | | | | | * Avoid having module documentation links to itself A lot of modules use M(own_module) in their documentation causing a link in the documentation to itself. * Make note more clear now
* Fixed typo "tempalated" => "templated" (#21187)stigchristian2017-02-091-1/+1
|
* PEP 8 indent cleanup. (#20800)Matt Clay2017-01-291-7/+7
| | | | | | | | * PEP 8 E121 cleanup. * PEP 8 E126 cleanup. * PEP 8 E122 cleanup.
* PEP 8 W291 whitespace cleanup.Matt Clay2017-01-271-1/+1
|
* Use to_text instead of str and decodeMatt Martz2017-01-251-14/+15
|
* Make sure values are strings before performing rstrip. Fixes #20641 (#20643)Matt Martz2017-01-251-2/+2
|
* updated docs to suggest quote filter for shellsBrian Coca2017-01-103-32/+37
| | | | Also changed comments into -name in examples where appropriate.
* Add warning to raw and script modules that there is no actual free_form ↵Eric Lavarde2017-01-032-2/+2
| | | | parameter (like for command etc).
* Removed dict.iteritems() in modules. (#18859)Andrea Tartaglia2016-12-121-1/+1
| | | This is for py3 compatibility, addressed in #18506
* Fix differences with devel.Matt Clay2016-12-081-1/+1
|
* Relocating extras into lib/ansible/modules/ after mergeJames Cammarata2016-12-081-0/+242
|
* Resolving differences in core modules post-mergeJames Cammarata2016-12-082-3/+0
|
* Refreshed metadata for core modulesToshio Kuratomi2016-12-084-0/+16
|
* Change examples syntax on shell moduleSam Doran2016-12-081-4/+6
|
* Change examples syntax on script moduleSam Doran2016-12-081-3/+7
|
* We've changed run_command to return native_stringsToshio Kuratomi2016-12-081-8/+8
| | | | | | on python3, this means that we don't get bytes back by default. We probably do want bytes here so modify our call to run_command so we get bytes instead of text.
* Fixes ansible/ansible#15922 (#3793)mlewe2016-12-081-2/+0
|
* Added semicolon to invalid operators list redux.Scott Butler2016-12-081-1/+1
|
* Remove redundant code AFAICT (#3908)Dag Wieers2016-12-081-32/+0
|
* Cleanups of command.py (#4526)Toshio Kuratomi2016-12-081-28/+24
| | | | | | | * Import module_utils at the top * Fix python3 by marking literals combined with stdout/stderr as byte literals * Mark parameters as type=path where appropriate
* Remove git and synchronize modules from list of commands we want users to ↵Toshio Kuratomi2016-12-081-2/+2
| | | | use the module for instead. (#4233)
* Add a note about using the script module with pseudo-tty's lack of stderr ↵jctanner2016-12-081-0/+1
| | | | | | channel (#4000) Addresses #3610
* updated raw docs for environment and executableBrian Coca2016-12-081-5/+7
| | | | | it should now reflect how raw works in combination with become and environment directives
* command: Correct suggestion of non-existant module apt-getHarlan Lieberman-Berg2016-12-081-1/+1
|
* Suggest using uri if curl is detectedMichael Scherer2016-12-081-1/+1
| | | | | | | | | Some people use the command module to run curl not to download file, but to interact with remote HTTP api, and the get_url suggestion is not suitable. So adding uri in the warning would give a more meaningful warning. Suggested by Tahvok on #ansible irc channel.
* Added some documentation for the shell return valuesLeonardo Giordani2016-12-081-0/+48
|
* Add example of using non-posix shellisms to raw and shellToshio Kuratomi2016-12-082-1/+19
| | | | Fixes #14262
* Remove duplicate documentation fieldsToshio Kuratomi2016-12-081-1/+0
|
* command: Add warnings for dnf and zypperAlexander Gubin2016-12-081-2/+2
|
* note that create globs only work on 2.0Brian Coca2016-12-081-2/+2
| | | | fixes #2666
* returned version addedBrian Coca2016-12-082-0/+2
|
* Warn on use of sudo, etc. in shell/command.Bill Nottingham2016-12-081-0/+3
|
* Add missing GPLv3 License headerMike Putnam2016-12-083-0/+44
| | | | Fixes #1643
* Document globbing supportFederico G. Schwindt2016-12-081-2/+2
|
* Allow globbing in creates= and removes= directivesFederico G. Schwindt2016-12-081-2/+3
| | | | Fixes 1904
* Proper author info for all remaining modulesGreg DeKoenigsberg2016-12-084-4/+12
|
* Fix missing expanduser on chdir valueJames Cammarata2016-12-081-0/+1
|