Commit Graph

4299 Commits (3ba67dd2d08fd4e6b50a7aa8e9da613e15e0079b)

Author SHA1 Message Date
Brian Coca 3ba67dd2d0 added ignore_hidden to assemble 11 years ago
Brian Coca b5f3e84014 now allows for empty vars sections, returns empty dict
fixes #11532
11 years ago
Brian Coca 55366bdc6d ported mail callback plugin to work with v2 11 years ago
Brian Coca 897e098b27 minor fixes to constants 11 years ago
Toshio Kuratomi dd058a1dc2 Fix required_if (needed to pass list to _count_terms) 11 years ago
James Cammarata 27fcf1a4b5 Fix bug in registered variables related to delegate_to changes 11 years ago
James Cammarata 64a1b1e043 Fix first_available_file: support for copy and template actions 11 years ago
Toshio Kuratomi ddac6fa9f3 Update exception handling to be python3 compat 11 years ago
James Cammarata 8f0496d7ce Fix usage of set_host_var when registering a result var
Fixes #11521
11 years ago
James Cammarata 2e5dfd57cc Clear flag indicating role had run before each play is run
Fixes #11514
11 years ago
Brian Coca a02555ad91 Merge pull request #11483 from pilou-/jinja2_header_overrides
implement jinja2 header overrides
11 years ago
James Cammarata f67949e42c Readd logic for ansible_managed to template action plugin
Fixes #11317
11 years ago
James Cammarata da307c8bfd Fix bug in logic introduced in 614c626 11 years ago
James Cammarata 293dd38d05 Correctly handle assigning results to the delegated to host 11 years ago
Toshio Kuratomi 49a148056c Ensure that we're dealing with byte str when we print or log messages 11 years ago
James Cammarata 614c626ed0 Fix no hosts remaining logic in linear strategy 11 years ago
Toshio Kuratomi 135fa41e3a Update submodules refs 11 years ago
Marc Abramowitz 314bae2a9e Don't wrap text for AnsibleParserError
This allows not messing up the wonderful error reporting that is
carefully created. Instead of:

    $ ansible-playbook foo.yml
     [ERROR]: ERROR! 'foo' is not a valid attribute for a Task  The error appears
    to have been in '/Users/marca/dev/git-repos/ansible/foo.yml': line 4, column 7,
    but may be elsewhere in the file depending on the exact syntax problem.  The
    offending line appears to be:    tasks:     - name: do something       ^ here

we get:

    $ ansible-playbook foo.yml
    ERROR! 'foo' is not a valid attribute for a Task

    The error appears to have been in '/Users/marca/dev/git-repos/ansible/foo.yml': line 4, column 7, but may
    be elsewhere in the file depending on the exact syntax problem.

    The offending line appears to be:

      tasks:
        - name: do something
          ^ here

which is much nicer.
11 years ago
Brian Coca a6aedbcc51 now correctly picks up old become password host vars 11 years ago
Toshio Kuratomi 49e17b8ff6 Get rid of an unused import so that we don't have circular imports 11 years ago
Toshio Kuratomi 5b0b1f8da6 unquote strings in the ansible config file 11 years ago
Toshio Kuratomi f44f9569e1 Test unquote works as expected and fix two bugs:
* escaped end quote
* a single quote character
11 years ago
James Cammarata 1d8ccfb99f Fixing includes where the included file is "{{item}}" 11 years ago
James Cammarata 46b33152c8 Check for ansible_su*_pass as well as _password
Fixes #11500
11 years ago
Toshio Kuratomi 378c8fd549 Update submodule refs 11 years ago
Brian Coca 2c9d1257ba put type checking before looking against choices array to always get type comparrison correctly 11 years ago
Brian Coca 22a0aa016f pbrun not forced to use local daemon anymore 11 years ago
Brian Coca 2a0cc38922 Merge pull request #11494 from jonhadfield/add_iso8601_basic_datetime
Add facts for datetime 8601 basic and basic short.
11 years ago
Brian Coca 05be30168d return empty string when config file is not used 11 years ago
Jon Hadfield 82e00b1022 add facts for datetime 8601 basic and basic short. 11 years ago
Brian Coca 51efd765be Merge pull request #11415 from msabramo/remove_unnecessary_imports
Remove unnecessary imports
11 years ago
James Cammarata 9155af20e3 Make sure vars in debug tasks aren't templated too early
If the syntax var={{something}} is used, that can be templated too
early in the post_validation, leading the debug module to fail when it
tries to template the same value in turn.
11 years ago
James Cammarata 38cc54b717 Make 'vars' a copy to prevent recursion issues 11 years ago
James Cammarata bddadc9565 Fix bug in relative path determination 11 years ago
James Cammarata 38c5da9d2a Revert "Backing out vars magic variable due to failed tests"
This reverts commit 388e46a485.
11 years ago
James Cammarata 388e46a485 Backing out vars magic variable due to failed tests 11 years ago
James Cammarata 76c5be3a31 Add 'vars' to magic variables 11 years ago
Marc Abramowitz 0676157897 Remove unnecessary imports 11 years ago
Brian Coca 552715f072 added validate and backup doc fragments 11 years ago
Brian Coca 5f791329ce now verbose mode shows config file used 11 years ago
James Cammarata 67671e328a Fix callback loading issue a slightly different way 11 years ago
James Cammarata a51c165157 Revert "load callbacks on init again as they did not seem to load with new call from executor"
This reverts commit cf4ed9a556.
11 years ago
James Cammarata 2ddd83360a Revert "removed 2nd load_callbacks that was causeing dupe output"
This reverts commit de98dc2968.
11 years ago
Brian Coca 4d35d8bd31 properly booleanify copy field 11 years ago
Pierre-Louis Bonicoli 720e184f88 implement jinja2 header overrides 11 years ago
Brian Coca de98dc2968 removed 2nd load_callbacks that was causeing dupe output 11 years ago
Brian Coca bdccfa71a8 Merge pull request #11482 from verm666/issue-1627
facts: add aliases to ansible_all_ipv4_addresses on OpenBSD
11 years ago
Brian Coca 5122455db8 ported missing sequence updates from 1.9 11 years ago
Brian Coca cf4ed9a556 load callbacks on init again as they did not seem to load with new call from executor 11 years ago
Brian Coca 9e37402cb7 added ramfs to selinux ignored filesystems
as reported in #11442
11 years ago