Commit Graph

89 Commits (7a4e4c2b0290b74a4f9272870b15976ae432d8e9)

Author SHA1 Message Date
Toshio Kuratomi dcc5dfdf81 Controller-side module caching.
This makes our recursive, ast.parse performance measures as fast as
pre-ziploader baseline.

Since this unittest isn't testing that the returned module data is
correct we don't need to worry about os.rename not having any module
data.  Should devise a separate test for the module and caching code
9 years ago
Toshio Kuratomi 8d60b298a4 Core module program flow and glossary (#15355)
* Reformat glossary as a sphinx glossary so that :term: will work.

* Add a document decribing program flow for executing modules

* Feedback from @docschick

* More feedback from docschick for the Program Flow: Modules doc

* Changes to address docschick's feedback on the glossary

* Add note section for async plugin

* make singular
9 years ago
James Cammarata 040893a677 Adding a config option to allow disabling locale settings upon module exec
Fixes #15138
9 years ago
Brian Coca 81a4df6206 updated docs to reflect new retry path
fixes #15269
9 years ago
Toshio Kuratomi 52e9209491 Don't create world-readable module and tempfiles without explicit user permission 9 years ago
Matthew Gamble 7b06ec79e3 Add documentation for squash_actions configuration setting 9 years ago
Toshio Kuratomi e25caebe7a Cleanups to docs and rename of inv var 9 years ago
Brian Coca db61e9be0c add ansible_executable inventory var
also handle the overrides appropriately
also new executable to set shell type
9 years ago
Toshio Kuratomi 0ad4ba5fe5 Fix another docs link problem 9 years ago
Toshio Kuratomi 512825455e Make ohai and facter work via module_utils Fact classes rather than in the setup module 9 years ago
Toshio Kuratomi 5a1e35224b Make changes proposed during review of restrict fact gathering feature:
* Make documentation examples into code blocks
* Make code to call the subsets more general.
* Made min subset always execute (cannot disable it).
* Use a passed in modules parameter rather than global modules.  This is needed for ziploader
* Remove unneeded __init__()
* Remove uneeded multiple inheritance from a base class
* gather_facts is now a list type
9 years ago
Yannig Perré 88772b6003 Add a way to restrict gathered facts in Ansible:
- Using gather_subset options
- By ignoring ohai/chef or facter/puppet facts
9 years ago
Matt Clay ba1bcdfc17 Add noseclabel support to libvirt_lxc plugin. 9 years ago
Kishin Yagami 299c18d700 Support strategy_plugins setting in a configuration file 9 years ago
Brian Coca b0bed27211 minor doc fixes 9 years ago
Matt Martz 3ac0143cf1 Merge pull request #13654 from sivel/paramiko-proxy-command
Add ProxyCommand support to the paramiko connection plugin
9 years ago
Toshio Kuratomi 86b8dc0e79 Add a configuration setting that allows the user to specify printing of task arguments in the header.
Fixes #14554
9 years ago
Dan Langille 2765708450 Specify the correct default values for sudo_flags
The correct default options for sudo_flags can be found at: https://github.com/ansible/ansible/blob/devel/lib/ansible/constants.py#L181

Slightly alter explanation of '-H' so as not to confuse it with -E, --preserve-env (which preserves existing environment variables).

When adding the two other options, include short explanations of those options.

Add note about '-n', which did not appear in 1.x I believe, and which bit me.
9 years ago
Dan Langille 2cde16a06c Add correct default options for sudo_flags
see https://github.com/ansible/ansible/blob/devel/lib/ansible/constants.py#L181
9 years ago
Matt Martz 630a35adb0 Add ProxyCommand support to the paramiko connection plugin 9 years ago
chouseknecht 06dde0d332 Fixed documentation typos and bits that needed clarification. Fixed missing spaces in VALID_ACTIONS. 9 years ago
chouseknecht 847f454bcc Add a section to intro_configuration for Galaxy. 9 years ago
Toshio Kuratomi 9caa2b0452 Revert "Update docs and example config for requiretty + pipelining change"
This reverts commit f873cc0fb5.

Reverting pipelining change for now due to hard to pin down bugs: #13410  #13411
9 years ago
Toshio Kuratomi f873cc0fb5 Update docs and example config for requiretty + pipelining change 9 years ago
Toshio Kuratomi 4b75308439 Fix up rst formatting 9 years ago
Lars Kellogg-Stedman dc8290ab7a add missing configuration examples
adds configuration examples missing from intro_configuration.rst.

Closes #12963.
9 years ago
acogdev e6958df9a8 Put retry_files_enabled and retry_files_save_path into alphabetical order. Found when investigating #11491 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
Florian Apolloner d9f873495e Ported over #7158 to support SELinux context switches. 9 years ago
Paul Freeman f14c617084 Documentation for retry_files_enabled and retry_files_save_path 9 years ago
Homme Zwaagstra 776eb3e8cd Link to `constants.py` in the source tree.
`constants.py` is referenced in the *Environmental configuration* section of the documentation.  This change provides a link from the documentation to the source code.
9 years ago
Abhijit Menon-Sen b328bc023d Add a combine filter with documentation
This is based on some code from (closed) PR #7872, but reworked based on
suggestions by @abadger and the other core team members.

Closes #7872 by @darkk (hash_merge/hash_replace filters)
Closes #11153 by @telbizov (merged_dicts lookup plugin)
9 years ago
Damian Gerow 1c5611100e Add become support for OpenBSD doas 9 years ago
Carlos A. Carnero Delgado 7bdaac7f63 Adding documentation for ask_vault_pass usage in ansible.cfg 9 years ago
Brian Coca 587a327647 Merge pull request #11495 from xmj/devel
docsite/rst/intro_configuration.rst: reword Title.
9 years ago
Brian Coca c40541964b Merge pull request #11637 from bcoca/moar_docs
Moar docs
9 years ago
Brian Coca f8ca978020 fixed extra hashmark 9 years ago
Miguel Moll 076ea66815 Update intro_configuration.rst
Removed a small grammar redundancy.
9 years ago
Brian Coca c0bcbf3b88 more changes from feedback 9 years ago
Brian Coca 0208a2cb30 updated as per feedback 9 years ago
Brian Coca 173f27531c moar docs
added docs for new v2 features
restructures modules bar and core/extras info into their own pages
changed templates to refer to the new pages
added some missing ansible.cfg options
more info on gathering setting
9 years ago
Johannes Meixner 90a810e2a8 docsite/rst/intro_configuration.rst: reword Title.
Make Configuration the first word, so that it is in line with other documents
and that system administrators/devops people don't lose the tab when having
many browser tabs open.
9 years ago
Sharif Nassar cbae925307 Clarify that setting ssh_args trumps control_path 9 years ago
Brian Coca 337b1dc45c minor doc fixes 9 years ago
Brian Coca 2e8758d8c4 fixed docs on the meaning of -H sudo arg
fixes #7418
10 years ago
Toshio Kuratomi 4839243366 Documentation fixes 10 years ago
Nick Hammond be15d74935 Add become docs to the intro configuration for #10881 10 years ago
Tyler Harper ee32403467 change --ansible-private-keyfile to --private-key
An old command line option was left in the documentation.
10 years ago
Jesse Rusak 652cd6cd5e Fix --force-handlers, and allow it in plays and ansible.cfg
The --force-handlers command line argument was not correctly running
handlers on hosts which had tasks that later failed. This corrects that,
and also allows you to specify force_handlers in ansible.cfg or in a
play.
10 years ago
Brian Coca 13d788021f Merge pull request #4820 from mscherer/add_local_config
Add path for user defined plugin
10 years ago