- 12 Feb, 2015 1 commit
-
-
Matt Martz committed
-
- 31 Jan, 2015 1 commit
-
-
Signed-off-by: Max Riveiro <kavu13@gmail.com>
Max Riveiro committed
-
- 30 Jan, 2015 1 commit
-
-
Sören Tempel committed
-
- 10 Nov, 2014 1 commit
-
-
Add -t OR --tags options to pass to ansible-playbook
mmicael1 committed
-
- 22 Aug, 2014 1 commit
-
-
Fixes #8324 Improves #7667
Will Thames committed
-
- 20 Aug, 2014 1 commit
-
-
This addresses a bug in ansible-pull where running ansible-pull with an existing inventory causes the ansible job that does the SCM checkout to run twice - once for localhost and once for the fully qualified hostname. This can cause a race condition, and usually results in one of the ansible checkouts failing because one of the scm checkouts has its references updated underneath it. Although the SCM checkout actually succeeds, ansible fails with non-zero exit status, and so ansible-pull does not continue. Now that localhost is implicit for ansible runs, the ansible scm checkout can be done using just localhost as a target.
Will Thames committed
-
- 04 Jun, 2014 1 commit
-
-
ansible-pull should respect inventory file settings because, say, Python interpreter path can be non-default on a host
Alex Chistyakov committed
-
- 26 Feb, 2014 2 commits
-
-
James Tanner committed
-
James Tanner committed
-
- 05 Feb, 2014 1 commit
-
-
Ingmar Hupp committed
-
- 03 Feb, 2014 1 commit
-
-
Steve Tjoa committed
-
- 22 Jan, 2014 1 commit
-
-
Matt committed
-
- 10 Jan, 2014 1 commit
-
-
James Tanner committed
-
- 19 Dec, 2013 2 commits
-
-
This reverts commit 3b2a35ae.
James Tanner committed -
Add a -v/--verbose option to ansible-pull to allow passing -vvvv to ansible-playbook and to show stdout while the playbook executes
James Tanner committed
-
- 18 Oct, 2013 1 commit
-
-
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.
Michael Scherer committed
-
- 13 Oct, 2013 2 commits
-
-
Michael Scherer committed
-
For a small network ( home, small company ), having to put the FQDN in each file is a bit tedious, so this patch also add the shorthostname as a 3rd default if the fqdn is not found.
Michael Scherer committed
-
- 21 Sep, 2013 1 commit
-
-
James Cammarata committed
-
- 03 Sep, 2013 1 commit
-
-
John Florian committed
-
- 20 Aug, 2013 1 commit
-
-
This extends ansible-pull so that it can support using other source_control modules for checking out a playbook repository (issue #3372). This will check to see if the module exists before it attempts to do the checkout and will exit if the module is not found. It requires that the module used to check out the repository support the parameters 'name' and 'version'. The option -C, --checkout is now optional and defaults to the module's default behavior for selecting a branch, tag, or commit value. For git, this continues to be HEAD. Other changes include: * Remove git from help and use generic term(s) where needed. * Use SortedOptParser from ansible.utils * More abstraction of common options used between ansible and ansible-playbook.
Stephen Fromm committed
-
- 05 Jul, 2013 1 commit
-
-
we chdir into this path and read the playbook/inventory if a non-absolute path is given on the command line, that will fail
Matt Lesko committed
-
- 30 Jun, 2013 1 commit
-
-
Stavros Korokithakis committed
-
- 27 Jun, 2013 1 commit
-
-
* Moved the --list-hosts option that is common to both `ansible` and `ansible-playbook` into utils/__init__.py (corrects a FIXME) * Wrote new help text for the --list-hosts option that makes sense for both of the commands that it applies to * Changed the usage argument in `ansible-playbook` so that it is setup in the base_parser method the same way that it is in the `ansible` executable * Updated the help text for several options to correct typos, clarify meaning, improve readability, or fix grammatical errors. In the case of `ansible-pull`, I changed the help text so that it adheres to the same standards as the other executables.
Joshua Lund committed
-
- 02 Jun, 2013 2 commits
-
-
Stephen Fromm committed
-
Add option to specify inventory. No default is defined since ansible-playbook already does this and it allows an ansible.cfg in the git repository to take precedence. Overall, this should help ansible-pull work with less setup in advance, which should be helpful in kickstart scenarios. Much of this was discussed in issue #2464.
Stephen Fromm committed
-
- 11 Nov, 2012 1 commit
-
-
--limit takes localhost, FQDN, and 127.0.0.1.
Stephen Fromm committed
-
- 12 Oct, 2012 5 commits
-
-
Removes git checkout after playbook run.
Stephen Fromm committed -
Direct any ansible-pull specific messages to stderr. Introduce try_playbook() and select_playbook() to remove try/except-y.
Stephen Fromm committed -
Matthew Johnson committed
-
Matthew Johnson committed
-
Merged commits: 3cd25b5 and ed9fc76. Some massaging of changes applied.
Stephen Fromm committed
-
- 07 Aug, 2012 1 commit
-
-
whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added in 0.6 release)
Michael DeHaan committed
-
- 02 May, 2012 3 commits
-
-
Michael DeHaan committed
-
This eliminates the creation of runner and playbook instances and just invokes the processes ansible and ansible-playbook.
Stephen Fromm committed -
A first stab at a pull-based model for ansible. This does two things: 1. Invoke the git module via Runner to set up a git repository on the localhost. It sets up Runner to use transport='local' and forces the inventory to just 'localhost'. 2. Run any playbooks provided. By default, this wants to run the playbook local.yml. This also sets transport='local' and sets the host_list to a list: localhost, fqdn, and hostname. The reason for setting the host_list and not using override_hosts is because there may be plays in the playbook that are not meant for a specific host. That is, if the git repository is for the entire site and not host-specific, you don't want to override hosts and apply all plays to any given host. This has the downside of potentially running a play three times if the play is defined for 'hosts: all'.
Stephen Fromm committed
-