1. 26 Feb, 2014 2 commits
  2. 05 Feb, 2014 1 commit
  3. 03 Feb, 2014 1 commit
  4. 22 Jan, 2014 1 commit
  5. 10 Jan, 2014 1 commit
  6. 19 Dec, 2013 2 commits
  7. 18 Oct, 2013 1 commit
  8. 13 Oct, 2013 2 commits
  9. 21 Sep, 2013 1 commit
  10. 03 Sep, 2013 1 commit
  11. 20 Aug, 2013 1 commit
    • Extend ansible-pull to support other source repositories · cc365159
      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
  12. 05 Jul, 2013 1 commit
  13. 30 Jun, 2013 1 commit
  14. 27 Jun, 2013 1 commit
    • Updates to Ansible command options · dc984d94
      * 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
  15. 02 Jun, 2013 2 commits
  16. 11 Nov, 2012 1 commit
  17. 12 Oct, 2012 5 commits
  18. 07 Aug, 2012 1 commit
  19. 02 May, 2012 3 commits
    • Simplify ansible-pull to just invoke ansible and ansible-playbook · 84c9caa8
      This eliminates the creation of runner and playbook instances and just
      invokes the processes ansible and ansible-playbook.
      Stephen Fromm committed
    • Add ansible-pull · 672794f5
      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