Commit graph

15157 commits

Author SHA1 Message Date
James Cammarata
a9712bb0fb Fixing some delegate_to bugs
* Moving connection creation until after the task is post_validated,
  to make sure all fields are properly templated (#11230)
* Fixing problems related to the connection method and remote address
  lookup on the delegated-to host

Fixes #11230
2015-07-09 08:25:08 -04:00
Brian Coca
3ba67dd2d0 added ignore_hidden to assemble 2015-07-09 00:27:29 -04:00
Brian Coca
b5f3e84014 now allows for empty vars sections, returns empty dict
fixes #11532
2015-07-08 22:45:01 -04:00
Brian Coca
55366bdc6d ported mail callback plugin to work with v2 2015-07-08 16:33:51 -04:00
Brian Coca
897e098b27 minor fixes to constants 2015-07-08 16:33:51 -04:00
Toshio Kuratomi
dd058a1dc2 Fix required_if (needed to pass list to _count_terms) 2015-07-08 09:45:02 -07:00
James Cammarata
27fcf1a4b5 Fix bug in registered variables related to delegate_to changes 2015-07-08 12:38:24 -04:00
James Cammarata
f5baad4fb2 Removing unicode --start-at-task test for now as we haven't added that back into devel 2015-07-08 12:23:42 -04:00
James Cammarata
64a1b1e043 Fix first_available_file: support for copy and template actions 2015-07-08 12:23:42 -04:00
Toshio Kuratomi
ddac6fa9f3 Update exception handling to be python3 compat 2015-07-08 08:59:42 -07:00
Brian Coca
df09691a38 Merge pull request #11527 from marconius/adds_tests_for_taggable
Added tests for `taggable` module
2015-07-08 10:51:10 -04:00
marconius
79394f5c8f Added tests for taggable module 2015-07-08 10:22:33 -04:00
Brian Coca
44d302ee66 for ansibot compensation 2015-07-08 10:12:08 -04:00
James Cammarata
8f0496d7ce Fix usage of set_host_var when registering a result var
Fixes #11521
2015-07-08 09:15:55 -04:00
James Cammarata
2e5dfd57cc Clear flag indicating role had run before each play is run
Fixes #11514
2015-07-07 21:47:48 -04:00
Brian Coca
48827a31bc added minimal testing for special template vars 2015-07-07 20:11:55 -04:00
Brian Coca
ec145a61af added os_floating_ip module and deprecated quantum_open_ip in changelog 2015-07-07 20:11:55 -04:00
Brian Coca
a02555ad91 Merge pull request #11483 from pilou-/jinja2_header_overrides
implement jinja2 header overrides
2015-07-07 18:02:00 -04:00
Brian Coca
2962047b43 ported 1.9.2 changelog into devel 2015-07-07 17:55:35 -04:00
Brian Coca
aa095df19c Merge pull request #11511 from galindro/syslog_json_improvement
syslog_json call plugin improvements
2015-07-07 17:49:28 -04:00
James Cammarata
f67949e42c Readd logic for ansible_managed to template action plugin
Fixes #11317
2015-07-07 16:48:19 -04:00
James Cammarata
bfbb88b4a9 Fix strategy plugin unit tests related to earlier changes 2015-07-07 16:26:24 -04:00
James Cammarata
da307c8bfd Fix bug in logic introduced in 614c626 2015-07-07 16:09:36 -04:00
James Cammarata
293dd38d05 Correctly handle assigning results to the delegated to host 2015-07-07 16:09:36 -04:00
Brian Coca
688088547b new human_readable filter to transform bits and bytes into cake (not really) 2015-07-07 15:58:18 -04:00
Toshio Kuratomi
49a148056c Ensure that we're dealing with byte str when we print or log messages 2015-07-07 12:05:59 -07:00
James Cammarata
6d50a261c5 Allow full exception tracebacks to be displayed with increased verbosity 2015-07-07 14:31:15 -04:00
James Cammarata
614c626ed0 Fix no hosts remaining logic in linear strategy 2015-07-07 14:20:07 -04:00
Toshio Kuratomi
135fa41e3a Update submodules refs 2015-07-07 10:54:36 -07:00
Brian Coca
898c7cc09f Merge pull request #11515 from msabramo/nicer_output_for_parser_errors
Don't wrap text for AnsibleParserError
2015-07-07 13:00:41 -04:00
Brian Coca
08fcd82331 added os_security_group_rule to changelog 2015-07-07 12:39:11 -04:00
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.
2015-07-07 09:31:00 -07:00
Brian Coca
d198b18c14 added win_regedit module to changelog 2015-07-07 10:41:58 -04:00
Brian Coca
38904ead49 Merge pull request #11510 from jaceklaskowski/patch-1
Update index.rst
2015-07-07 09:20:08 -04:00
Brian Coca
908b2b8caf Merge pull request #11513 from jaceklaskowski/patch-2
Update intro_inventory.rst
2015-07-07 09:02:08 -04:00
Brian Coca
b7f7760f39 removed unused file 2015-07-07 08:52:46 -04:00
Brian Coca
9bf39e7875 reversed cache check condition to actually work
fixes #11505
2015-07-07 08:51:39 -04:00
Jacek Laskowski
796c7accd1 Update intro_inventory.rst
Minor fix for consistency (and more engaging language :))
2015-07-07 14:03:46 +02:00
Bruno Galindro da Costa
156dab31e2 * Fix NameError: global name 'handler' is not defined
* Update log message format
2015-07-07 07:49:06 -03:00
Jacek Laskowski
2a328ab61d Update index.rst 2015-07-07 11:28:20 +02:00
Brian Coca
8224627036 Merge pull request #11487 from mikeputnam/ansible-ansible-issue-11397
Be more specific describing groups of groups,
2015-07-07 00:04:38 -04:00
Brian Coca
a6aedbcc51 now correctly picks up old become password host vars 2015-07-06 23:24:00 -04:00
Brian Coca
d74cf46778 added route53_zone and some v2 features to changelog 2015-07-06 19:53:42 -04:00
Brian Coca
8bfbe44e5b introduced non changing ansible_managed 2015-07-06 19:25:32 -04:00
Toshio Kuratomi
49e17b8ff6 Get rid of an unused import so that we don't have circular imports 2015-07-06 14:19:13 -07:00
Toshio Kuratomi
5b0b1f8da6 unquote strings in the ansible config file 2015-07-06 14:12:10 -07:00
Toshio Kuratomi
f44f9569e1 Test unquote works as expected and fix two bugs:
* escaped end quote
* a single quote character
2015-07-06 13:16:42 -07:00
Brian Coca
0cd7942155 removed uneeded quotes 2015-07-06 15:42:23 -04:00
Brian Coca
aa6486778f fixed become test to match new expected output 2015-07-06 15:34:38 -04:00
James Cammarata
1d8ccfb99f Fixing includes where the included file is "{{item}}" 2015-07-06 14:30:56 -04:00