Commit Graph

1320 Commits (4ac2bafc4baa59d06c937eb8cb9ade0c6ae45a92)

Author SHA1 Message Date
James Cammarata 2a32384a2c Merge pull request #12227 from arbabnazar/patch-1
Update developing_modules.rst
9 years ago
James Cammarata 6650ba7654 Squashed commit of the following:
commit 9921bb9d20
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date:   Mon Aug 10 20:19:44 2015 +0530

    Document --ssh-extra-args command-line option

commit 8b25595e7b
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date:   Thu Aug 13 13:24:57 2015 +0530

    Don't disable GSSAPI/Pubkey authentication when using --ask-pass

    This commit is based on a bug report and PR by kolbyjack (#6846) which
    was subsequently closed and rebased as #11690. The original problem was:

        «The password on the delegated host is different from the one I
        provided on the command line, so it had to use the pubkey, and the
        main host doesn't have a pubkey on it yet, so it had to use the
        password.»

    (This commit is revised and included here because #11690 would conflict
    with the changes in #11908 otherwise.)

    Closes #11690

commit 119d032389
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date:   Thu Aug 13 11:16:42 2015 +0530

    Be more explicit about why SSH arguments are added

    This adds vvvvv log messages that spell out in detail where each SSH
    command-line argument is obtained from.

    Unfortunately, we can't be sure if, say, self._play_context.remote_user
    is obtained from ANSIBLE_REMOTE_USER in the environment, remote_user in
    ansible.cfg, -u on the command line, or an ansible_ssh_user setting in
    the inventory or on a task or play. In some cases, e.g. timeout, we
    can't even be sure if it was set by the user or just a default.

    Nevertheless, on the theory that at five v's you can use all the hints
    available, I've mentioned the possible sources in the log messages.

    Note that this caveat applies only to the arguments that ssh.py adds by
    itself. In the case of ssh_args and ssh_extra_args, we know where they
    are from, and say so, though we can't say WHERE in the inventory they
    may be set (e.g. in host_vars or group_vars etc.).

commit b605c285ba
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date:   Tue Aug 11 15:19:43 2015 +0530

    Add a FAQ entry about ansible_ssh_extra_args

commit 49f8edd035
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date:   Mon Aug 10 20:48:50 2015 +0530

    Allow ansible_ssh_args to be set as an inventory variable

    Before this change, ssh_args could be set only in the [ssh_connection]
    section of ansible.cfg, and was applied to all hosts. Now it's possible
    to set ansible_ssh_args as an inventory variable (directly, or through
    group_vars or host_vars) to selectively override the global setting.

    Note that the default ControlPath settings are applied only if ssh_args
    is not set, and this is true of ansible_ssh_args as well. So if you want
    to override ssh_args but continue to set ControlPath, you'll need to
    repeat the appropriate options when setting ansible_ssh_args.

    (If you only need to add options to the default ssh_args, you may be
    able to use the ansible_ssh_extra_args inventory variable instead.)

commit 37c1a5b679
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date:   Mon Aug 10 19:42:30 2015 +0530

    Allow overriding ansible_ssh_extra_args on the command-line

    This patch makes it possible to do:

        ansible somehost -m setup \
            --ssh-extra-args '-o ProxyCommand="ssh -W %h:%p -q user@bouncer.example.com"'

    This overrides the inventory setting, if any, of ansible_ssh_extra_args.

    Based on a patch originally by @Richard2ndQuadrant.

commit b023ace8a8
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date:   Mon Aug 10 19:06:19 2015 +0530

    Add an ansible_ssh_extra_args inventory variable

    This can be used to configure a per-host or per-group ProxyCommand to
    connect to hosts through a jumphost, e.g.:

        inventory:
            [gatewayed]
            foo ansible_ssh_host=192.0.2.1

        group_vars/gatewayed.yml:
            ansible_ssh_extra_args: '-o ProxyCommand="ssh -W %h:%p -q bounceuser@gateway.example.com"'

    Note that this variable is used in addition to any ssh_args configured
    in the [ssh_connection] section of ansible.cfg (so you don't need to
    repeat the ControlPath settings in ansible_ssh_extra_args).
9 years ago
Praveen Kumar 6e1f7cd503 Fix typo to avoid traceback during testing 9 years ago
Arbab Nazar d2e547c31f Update developing_modules.rst 9 years ago
Toshio Kuratomi 8cac397841 Note that backslash escaping has changed in some places 9 years ago
Greg DeKoenigsberg ee7f7a82a8 Update developing_modules.rst
More specific about urllib2 restrictions
9 years ago
Greg DeKoenigsberg ec95ad1062 Update developing_modules.rst 9 years ago
Greg DeKoenigsberg 9c150e5753 Update developing_modules.rst 9 years ago
Greg DeKoenigsberg b5a10b7960 Update README.md
Reflect new permissions for pushing to doc site
9 years ago
James Cammarata 4c65306e73 Merge branch 'hostrange' of https://github.com/amenonsen/ansible into amenonsen-hostrange 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
Steve McKuhr f4fbfa6450 - Fixed line break causing part of the text to display as "Definition List"
which Sphinx renders in bold.
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
Sandra Wills c752149fe7 ansible-lockdown added, minor editing
added info/link for ansible-lockdown to mailing list section, minor editing
(can't help myself it seems) to the paragraph about subscribing from a non-google account
9 years ago
Abhijit Menon-Sen d9086ab46b Describe the groupname[x]/[x:y] syntax in more detail 9 years ago
Brian Coca 12703c79b6 Merge pull request #11949 from bcoca/bsd_intro
draft bsd intro and bootstrapping
9 years ago
Brian Coca 144da7e7d1 Merge pull request #11765 from ldx/vault_pbkdf2hmac
Use PBKDF2HMAC() from cryptography for vault keys.
9 years ago
Brian Coca d0350b1905 Merge pull request #12024 from jhawkesworth/win_splitdrive_filter
Add win_splitdrive filter for windows users
9 years ago
Bill Nottingham 3fd3f685ad Update faq
Guru is not a thing any more.
9 years ago
Jon Hawkesworth a46b500851 Add win_splitdrive filter for windows users 9 years ago
Brian Coca 0eba819113 Merge pull request #11792 from deliciousfudge/devel
Update dependencies for pywinrm
9 years ago
Brian Coca 2f7164e3de corrected typo 9 years ago
Brian Coca ee21ebaffc Merge pull request #11975 from mutemule/become_doas
Add become support for OpenBSD doas
9 years ago
Damian Gerow 1c5611100e Add become support for OpenBSD doas 9 years ago
Tim Bielawa 5a84e61778 Fix variable name mis-match in website docs for ANSIBLE_LIBRARY. Clean up some dangling whitespace 9 years ago
Charles Chan 980f44ccba Update intro_inventory.rst
Change 'SSH' to upper case.
9 years ago
Charles Chan ec60db3907 Update intro_installation.rst
Improve documentation.
9 years ago
Patrick Easters 6ed66caaed Fix typo on AWS guide page
I assume this should read “Ansible modules” rather than “Ansible
ensiles”
9 years ago
Brian Coca 5027f66562 Merge pull request #11864 from jhawkesworth/win_path_filters
add win_basename and win_dirname filters
9 years ago
Brian Coca f1b30fd4f6 draft bsd intro and bootstrapping 9 years ago
Brian Coca 8e30e3791e Merge pull request #11811 from amenonsen/fixme-range
FIXME in host range parsing
9 years ago
Craig Ringer 68c71ecba8 Document any_errors_fatal and max_fail_percentage 9 years ago
Brian Coca 582edfead8 Merge pull request #11932 from jlmitch5/update_doc_ads
fix docsite ad placement on safari
9 years ago
John Mitchell ba31121c56 fix docsite ad placement on safari 9 years ago
Brian Coca fb5003dbfc Merge pull request #11928 from jlmitch5/update_doc_ads
update docsite ads
9 years ago
John Mitchell b5b73c1b5b update docsite ads 9 years ago
Tom Paine 19373e262c Update playbooks_tags.rst
This important point gets lost in the fixed width word wrap of the docs site. Separating it out to it's own line stops it being lost in the noise of the previous sentence.
9 years ago
Carlos A. Carnero Delgado 7bdaac7f63 Adding documentation for ask_vault_pass usage in ansible.cfg 9 years ago
Christian Jensen b5f5404e63 Tiny typo fix 9 years ago
Brian Coca 8f106c9a58 Merge pull request #11078 from Yannig/devel
New lookup plugin : ini
9 years ago
Brian Coca 3c57018a10 Merge pull request #11778 from Ensighten/add_credstash_plugin
add credstash lookup plugin
9 years ago
Brian Coca 7062cb3bb7 removed soon to be deprecated role like include syntax 9 years ago
Brian Coca d1a6cfe6f0 Merge pull request #11798 from daburmistrov/daburmistrov-docsite-any_errors_fatal
add documentation about any_errors_fatal
9 years ago
daburmistrov 7d5026a330 removing confusing parts 9 years ago
Jon Hawkesworth f69da544f7 add win_basename and win_dirname filters 9 years ago
Yannig Perré 47db352725 Merge remote-tracking branch 'ansible/devel' into devel 9 years ago
Yannig Perré c0bd140959 Add documentation for the ini lookup plugin. 9 years ago
Brian Coca 479c4a4be9 enabled yaml highlighting globally, made specific emphasis for blocks in playbooks_blocks docs 9 years ago
Toshio Kuratomi 6faaf41069 Update conditional docs since @jimi-c got playbook includes working in 2.0 9 years ago
daburmistrov 0b277b43a4 add documentation about any_errors_fatal 9 years ago