Commit Graph

505 Commits (ede82e21307969da4acf82e05ef9f8a542f19795)

Author SHA1 Message Date
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
Abhijit Menon-Sen 4afe1cf422 Update ansible-vault manpage to describe new encrypt/decrypt behaviour 9 years ago
Richard Poole 3090a45891 add option to ansible-vault to read new password from file for rekey
The --new-vault-password-file option works the same as
--vault-password-file but applies only to rekeying (when
--vault-password-file sets the old password). Also update the manpage
to document these options more fully.
9 years ago
Damian Gerow 1c5611100e Add become support for OpenBSD doas 9 years ago
snetting 15669d98ca correct ansible-playbook man1 9 years ago
snetting 4693531851 update ansible man1 9 years ago
Till Maas f36a92f729 Re-Generate man pages 10 years ago
Till Maas 8ad2eac7e1 Mention ANSIBLE_INVENTORY
Support for ANSIBLE_HOSTS is faded out, see commit
c73254543a, therefore do not mention it in
the man pages.
10 years ago
Chris AtLee 1bf8f78b18 Add --list-hosts to man pages.
Fixes #9574
10 years ago
Brian Coca f734306c13 Merge pull request #9859 from autotune/devel
Added description for -S flag and --ask-su-pass #9846
10 years ago
Giovanni Tirloni bcbf819a8b Add how to load extra variables directly from a file (using @). 10 years ago
mixpix3ls 8866378e89 Fixing ticket 9845: man pages contain duplicate AUTHOR section 10 years ago
autotune d052bf8276 Added description for -S flag and --ask-su-pass 10 years ago
Toshio Kuratomi fa51e8f36d Document the --offline parameter to galaxy init
Fixes #9758
10 years ago
Michael Scherer 9c10a11aea Fix the synopsis in ansible-pull man page. 10 years ago
Michael DeHaan e43ae3c0f7 Update test strategies guide. 11 years ago
Cristian Ciupitu 7cb4b7ab89 Fix typos in ansible-playbook man page source
Note: the man page needs to be rebuilt.
11 years ago
James Tanner 33eec0dc55 Fixes #6398 Add missing parameters to ansible-playbook manpage 11 years ago
James Cammarata 12c812f030 Adding a man page for ansible-vault
Fixes #6471
11 years ago
James Cammarata ba4fbd2b66 Adding man page for ansible-galaxy
Partially resolves #6471
11 years ago
James Cammarata 6f405c8970 Updated footer date and adding in misc. file generated by earlier doc update 11 years ago
Maykel Moya 0b1320e48c Update doc, irc and mailing list information in manpages input 11 years ago
Maykel Moya 06beddfe68 Fix documentation url 11 years ago
Maykel Moya 0b44a3e54f Minor grammar fix in manpages 11 years ago
Michael DeHaan 388365b90a Add reference to Guru to sidebar. 11 years ago
Matthew Phipps d78951e767 Add skip_tags to ansible-playbook man page 11 years ago
Michael DeHaan 0882eefdff Merge conflict 11 years ago
Michael DeHaan 2f811c40d7 Basic docsite formatting fixups 11 years ago
Michael DeHaan fdb8505a5e Add ansible-pull's -o to the manpage. 11 years ago
Michael DeHaan 52b2cfedfc Add release history for 1.4.1 into 1.5 branch. 11 years ago
Michael DeHaan f7c3975f21 Add version_added to all modules missing version_added information, the docs formatter will now
raise errors when omitted, updated changelog with new modules.
11 years ago
jctanner 2d9087b806 Merge pull request #4484 from mscherer/add_short_hostname
ansible-pull by default will look for local.yml and $fqdn.yml.
11 years ago
jctanner 127efdf3ef Merge pull request #4576 from mscherer/pull_temporary_dir_2
add a default value for the -d option of ansible-pull
11 years ago
Ray b5266a562d minor correction
Same doc-typo (confirmed) as https://github.com/ansible/ansible/pull/4759

--remote-user  *should be*  --user
11 years ago
Ray a66f0462cd minor correction
--remote-user= does not work:
 ansible: error: no such option: --remote-user

--user= does. Updating docs
11 years ago
Michael DeHaan ad5731b4a8 Add module utils path to setup.py 11 years ago
Michael Scherer f8b23e5721 add a default value for the -d option of ansible-pull
Thi permit to simplify the command line to use by using
a sensible default, and so reduce the number of incorrect
possible choices and setup needed. Among potential
incorrect choices is using a fixed directory in /tmp, which
could be problematic with a setup whose access is not
properly restricted.
11 years ago
Michael Scherer 92147aff0f also fix the doc, forgot in last commit 11 years ago
James Cammarata 97e3e967a7 Merge branch 'devel' of https://github.com/jflorian/ansible into jflorian-devel 11 years ago
James Cammarata 8283183023 Adding sshpass as packaging requirement and fixing VERSION 11 years ago
John Florian c8a5aabf39 Added -f/--force option to ansible-pull 11 years ago
Stephen Fromm 77b8ee1f84 Update ansible-pull man page doc (issue #3372) 11 years ago
Michael DeHaan f0d7324e25 Merge pull request #3094 from sfromm/issue2464-redux
Updates to ansible-pull and ansible-pull docs
12 years ago
Michael DeHaan 4ae3ef8af9 Disable inventory test 12 years ago
Stephen Fromm a611027329 Update ansible-pull documentation 12 years ago
Michael DeHaan b19609b98b Slight docs tweak 12 years ago
Michael DeHaan 0837c9785f Merge pull request #3040 from bfabio/devel
Support JSON in --extra-vars.
12 years ago
Michael DeHaan 267b29cec7 Manpage tweaks, docs rebuild 12 years ago
Fabio Bonelli 6bef150695 Support JSON in --extra-vars.
If --extra-vars starts with either a '{' or a '[', it will be assumed
we are dealing with JSON and parse the data as such.
12 years ago
Michael Vogt d7b5b47efe improve wording, thanks to Michael DeHaan 12 years ago
Michael Vogt 22b0cf9275 use the same text for -M in ansible.1 and ansible-playbook.1 12 years ago
Michael Vogt 8338e75463 document in the man-page that {ansible,ansible-playbook} -M can also be overriden with the ANSIBLE_LIBRARY environment 12 years ago
Michael DeHaan aa4ad80bda Update release version. 12 years ago
Yves Dorfsman 8b10cc5946 Mention of ansible-doc and man pages for modules. 12 years ago
r-p-e 1f1eb4125f align manpages with actual code for --syntax-check 12 years ago
Michael DeHaan 2a66185920 update manpage for new options. 12 years ago
Oscar Korz ba807ed5a8 Correct -u description in ansible man page 12 years ago
Michael DeHaan 318e3302fb Fix up some version related things on the devel branch. 12 years ago
Michael DeHaan 70bb7d1e54 Merge pull request #1696 from gregorg/enhance_limit
Allow regex to be used to select hosts in addition to fnmatch pattern
12 years ago
Gregory Duchatelet ba4f71db27 Moved docs about "--limit=~REGEX" from man page to asciidoc. 12 years ago
Gregory Duchatelet 8bc1b69c58 Add a unit test to subset limiting via a regex, and some doc in man
page.
12 years ago
Jan-Piet Mens 17f31a2a79 CLI: ansible-doc shows lists of modules & module docs on command-line
check path is directory
added manpage & setup
small cleanup
shut up module_formatter in utils to avoid trace print on crud files in library
12 years ago
Michael DeHaan 6a5df97393 Manpage documentation ALSO should be sorted 12 years ago
Fabian Arrotin 96770a3057 - Fixed some typos for the ansible config file
- added the ANSIBLE_CONFIG environment variable
12 years ago
Michael DeHaan 5bdc16338e Release version bump for 0.9 (development branch) 12 years ago
Michael DeHaan aa98c84a62 HP and vsphere modules are crazy awesome but I am thinking these belong in contrib not core. 12 years ago
Michael DeHaan 70ed560fb3 Add FILES to manpage 12 years ago
Michael DeHaan 6d2f003ceb Update formatter to not include orange blocks all over docsite page 12 years ago
Michael DeHaan dbeb26ad6d Don't check in modules.js either 12 years ago
Michael DeHaan fc9a6bb07c Docs/json should not be checked in 12 years ago
Marco Vito Moscaritolo ee679c0190 Unified document generator and make to generate JSON and JS files 12 years ago
Tim Bielawa 9541b47b52 Keep the man3 directory. 'make docs' breaks without it. 12 years ago
Michael DeHaan 343e07a31a chapter 3 manpage source does not belong in git because it includes datestamps that constantly change. Willing to re-add if datestamps
are removable.
12 years ago
Michael DeHaan 4a95194424 Docs rebuild in new project structure. 12 years ago
Jan-Piet Mens a9dad7f3bd remove duplicate private-key option from manpage 12 years ago
Michael DeHaan 761330b125 Fix module formatter indexing 12 years ago
Tim Bielawa 85fb7c6d4b Library functions and modules should be in the 3 man page section. Also the files should end in '.3' 12 years ago
Michael DeHaan 53d24ef002 Check in generated manpage documentation from modules 12 years ago
Michael DeHaan 31a4fe412f Complain when modules do not have documentation. 12 years ago
Jan-Piet Mens d47e15a1f2 module_formatter in hacking/ 12 years ago
Michael DeHaan 975c323e39 Release version bump 12 years ago
Michael DeHaan 4920533c05 Add --limit to manpage 12 years ago
Tim Bielawa 698bcaa581 Fully document the -v option. 12 years ago
Tim Bielawa 6d9e873724 Add some docs/examples
Add a basic ansible-pull man page.

Add the example playbooks/scripts to the RPM package.

Closes #841
12 years ago
Tim Bielawa bf7e83bea6 Update man pages and the message for an exception. 12 years ago
Michael DeHaan 6ea022de01 docs build 12 years ago
Michael DeHaan 8fa4dc3920 Small change to previous patch, make ranges of hosts inclusive. 12 years ago
Chin Fang e3b2521f01 Added a host expansion feature to ansible's inventory parsing 12 years ago
Michael DeHaan a490213d45 Release bump to start development on 0.6 13 years ago
Michael DeHaan efac68b636 Remove the -D module debug flag, which no longer is functional due to sudo pty requirements, and replace with -v/--verbose.
This flag will show playbook output from non-failing commands.  -v is also added to /usr/bin/ansible, but not  yet used.

I also gutted some internals code dealing with 'invocations' which allowed the callback to know what module invoked
it.  This is not something 0.5 does or needed, so callbacks have been simplified.
13 years ago
Michael DeHaan da3816d370 Move version files to 0.5 for devel branch 13 years ago
Michael DeHaan 8e8cde3a2c override hosts gone 13 years ago
Michael DeHaan eda2333b24 Update manpage to mention -U (--sudo-user). 13 years ago
Michael DeHaan 36e454c52f Because paramiko using a pty can't distinguish stderr and stdout, remove handling that
treated -D as a way to show stderr, and make sure modules don't include things on stderr.
Update docs and test module script to come into line.
13 years ago
Michael DeHaan b9982fc17b Reinstate --extra-vars, which can do things in playbooks like:
ansible-playbook release-my-app.yml --extra-vars="version=123"

And make $version available in the playbook without re-editing the file
13 years ago
Tim Bielawa 621dc83ac2 Fix man page option description indentation. 13 years ago
Tim Bielawa d43cf592eb Renaming asciidoc sources to .in.
Change manpages to build from *.in and add comments about how the make
targets work.
13 years ago
Tim Bielawa 2d26d1fd71 Update %description and auto-add version to manpages
Conflicts:

	docs/man/man1/ansible-playbook.1
	docs/man/man1/ansible.1

Update %description
13 years ago
Michael DeHaan 9ce27be878 Remove extra_vars tests 13 years ago
Michael DeHaan b24ec71ca3 Update docs to reflect --port going away and --sudo and --remote-user being added to ansible-playbook 13 years ago
Michael DeHaan 579bd1d417 manpage updates 13 years ago
Michael DeHaan c3cad50075 Update manpages, fix missing variable assignment 13 years ago
Stephen Fromm b506567c37 Update ansible.1 manpage for option -c, --connection 13 years ago
John Eckersberg 5aad4bacc7 Bump release to 0.0.2 13 years ago
Tim Bielawa 446ba1795a Show when options require arguments in the man pages. 13 years ago
Michael DeHaan f1c8fc63cb host file must be marked config(noreplace), update rpm build to use checked in manpage src 13 years ago
Michael DeHaan 9049b0e7ca Because folks on RHEL 6 (not CentOS 6) have some issues with asciidoc, do not build the asciidoc from
the rpm or make install targets.  Also modify the make install (only) to copy over files into the library
directory since the setup.py does not do this (due to a distutils bug, more or less).
13 years ago
Michael DeHaan ee69bd18cc Add -T to playbook manpage 13 years ago
Michael DeHaan 6660a5efbd add polling info to manpage 13 years ago
Tim Bielawa 3f245498c4 Fixup RPM building: Makefile, Spec File, .gitignore
Fixup distutils: setup.py

Clean old cruft: section 5 man pages
13 years ago
Michael DeHaan 209760f8f6 Add manpage for ansible-playbook, since it is a command. More detailed docs will remain on the web site. 13 years ago
Michael DeHaan 742258a078 Drop other man(5) pages so we can have only one source of docs -- ansible.github.com for those operations.
Easier to maintain and much more verbose.
13 years ago
Michael DeHaan fb3bfa1c51 Tweak the matrix 13 years ago
Michael DeHaan 9c5341116b Update to comparison matrix 13 years ago
Michael DeHaan ee6db0531b Attempt at adding more comparison info 13 years ago
Michael DeHaan 937de08794 HTML test 13 years ago
Michael DeHaan 06d3cc930d This was supposed to be markdown with embedded HTML 13 years ago
Michael DeHaan 077e4f2381 Added start of comparison table so it's easy to explain at a glance what this project is. 13 years ago
Tim Bielawa f2c2786a14 Update constants.py to pull module path and the hosts file from the
environment (ANSIBLE_{LIBRARY,HOSTS}) if defined.

Update manpages to represent this.

Also update the env-setup script to set ANSIBLE_{LIBRARY,HOSTS}.
13 years ago
Tim Bielawa 6343aa6214 Add environment updating script 'env-setup' to facilitate running ansible from a git checkout. 13 years ago
Tim Bielawa e9ae5eb9d5 Correct see-also in playbook manpage 13 years ago
Michael DeHaan 269a6d46d6 attempt to explain import syntax in ansible-playbook manpage. Can't include
examples inline because github won't display them well, want to move this
file to markdown soon.
13 years ago
Michael DeHaan 847846af0e -p has been replaced by a required option. Various docs changes. 13 years ago
Michael DeHaan 4ce1f1dd5e README/doc/example updates to go with group support and CLI option changes.
Minimizing manpage until CLI options stabilize.
13 years ago
Michael DeHaan 55d256d82a Added solution to avoid checking in manpages. Just run "make" and we'll build
docs before python setup.py.   Seems reasonable to let Makefile drive
13 years ago
Michael DeHaan d8b5e667d8 Doc rebuild 13 years ago
Michael DeHaan 442c2488ba Minor playbook doc updates 13 years ago
Michael DeHaan d0906e187f Correct file location error in example 13 years ago
Michael DeHaan 058fa5bd15 Manpage and doc updates 13 years ago
Michael DeHaan 6fcce9a97e rebuild manpage due to license change 13 years ago
Michael DeHaan be4cb64c92 Relicensing to GPLv3, all previous committers ok'd on mailing list. 13 years ago
Michael DeHaan c0b4c80ba1 Docs rebuild 13 years ago
Michael DeHaan 783d3642a8 ok, giving up, github does not render asciidoc well at all.
Is there something we can use to generate manpages from markdown?
13 years ago
Michael DeHaan 28afd7208e Try once more. 13 years ago
Michael DeHaan 03bf465c3a attempt to fix asciidoc so it shows up on github 13 years ago
Michael DeHaan f3246fb72e Remove 'pending' comment. 13 years ago
Michael DeHaan 4201865bba Add note about facter/ohai integration into module docs. 13 years ago
Michael DeHaan e766bb6a6c update manpage output 13 years ago
Michael DeHaan 155c3ca89e update playbook docs with updated syntax / minor edits 13 years ago
Michael DeHaan 2860c14bc2 module doc updates 13 years ago
Michael DeHaan ba4e36a9a9 Rename 'ensure' to 'state' because I think it's a bit cleaner and doesn't imply
all modules take a common parameter name.  But more or less we still work idempotently
in modules.
13 years ago
Tim Bielawa 6612772711 Update man pages. Fix formatting in playbook example. Also, YAML documents by definition start with '---', so I have added this to the example and the manpage 13 years ago
Tim Bielawa afc7f4d246 This is configuration, not command. Rename to section 5 13 years ago
Tim Bielawa 9680de37c9 Manpages formatting 13 years ago
Tim Bielawa b4fd0042f6 Fix up some wording/formatting in ansible-modyles.5. Also: Section 5 is for configuration, update the see-also to reflect this with respect to ansible-playbook. 13 years ago
Tim Bielawa 86bf871e07 Fixup the naming of the docs. 13 years ago
Michael DeHaan 136d8fa33a add manpage crossreferences 13 years ago
Michael DeHaan 2262705ea3 Added stub for ansible-playbook (format) docs. Docs on ansible-playbook script TBD once
written.
13 years ago
Michael DeHaan 17a6ddb7ee Lining up with the reversion of 70ec508ee0, also
check the ansible-module file back in.  This is basically to make things easier
to build from setup.py.
13 years ago
Michael DeHaan 4e5da11217 Revert "don't check in manpage output file"
This reverts commit 70ec508ee0.
13 years ago
Michael DeHaan 226da501d3 Take notes about other modules that are in plan. 13 years ago
Michael DeHaan e5f62f20b1 make copy & template module take key/value parameters so we're consistent. Only the command
module works differently now

starter manpage for modules

allow template file location to be passed into template & setup modules
13 years ago
Michael DeHaan 77a7ddeebc Add start of documentation for modules 13 years ago
Michael DeHaan 70ec508ee0 don't check in manpage output file 13 years ago
Tim Bielawa f0b0211772 Because everything should have a man page 13 years ago