Commit Graph

14046 Commits (efb190d5a5584a7500c5ceaea06a8ce76600668e)
 

Author SHA1 Message Date
Michael Scherer 6957d66a26 Do not import all ansible errors and fix the exception raised 10 years ago
Toshio Kuratomi b69f57d8a4 Merge pull request #10703 from mscherer/fix_missing_errors_v2
Add back AnsibleFileNotFound ( used in connection plugins )
10 years ago
James Cammarata 46beaf8a47 Submodule update 10 years ago
Michael Scherer 8592ffb573 Add back AnsibleFileNotFound ( used in connection plugins ) 10 years ago
Brian Coca 8d871f9650 Merge pull request #7444 from carsongee/cg/nova_inventory_improvements
Improvements to OpenStack inventory script
10 years ago
Brian Coca 09efba2a7c fixed indent when looking at delegate_to vars 10 years ago
James Cammarata 0345b675f8 Rather than moving connection option setting, fix defaults
This reverts the previous commit (d71834d) and instead fixes the problem
by making sure that options used by ConnectionInformation do not have
defaults set in the playbook objects so they're properly inherited from
the CLI options object if not otherwise specified in the play
10 years ago
Brian Coca d5a7cd0efc bad hack to maybe fix some corner cases with pbrun custom prompts 10 years ago
James Cammarata d71834d1d2 Moving setting of options values to after play again
Moving this above the play setting means that any default values set
in play (like connection) override any corresponding CLI option, which
is wrong. Generally CLI options should override things set in playbooks
10 years ago
Toshio Kuratomi ed601f964d Merge pull request #10683 from timsutton/remove-old-git-integration-test
Git integration test: remove test for ambiguous .git/branches dir
10 years ago
Toshio Kuratomi c14f072a3b Merge pull request #10693 from momandine/import_fixes
Import fixes
10 years ago
Amandine Lee 164cfdfda4 Fix typo 10 years ago
Toshio Kuratomi c486b6773a Merge pull request #10692 from ianzd/python3
Import queue from six.moves for python3 compatibility.
10 years ago
Amandine Lee 08feaea077 Fix plugin imports with six 10 years ago
Ian Dotson 6e12117b04 Import queue from six.moves for python3 compatibility. 10 years ago
Toshio Kuratomi 4b889bbe3d Add six to the v2 test-requirements 10 years ago
Toshio Kuratomi 056f646bda Merge pull request #10681 from dorianpula/test_requirements_for_v2
Add test requirements for working with v2.
10 years ago
Amandine Lee bd4c30b807 Merge remote-tracking branch 'upstream/devel' into devel 10 years ago
Toshio Kuratomi 7133d6361f Merge pull request #10691 from ianzd/python3
Change how we're calling StringIO
10 years ago
Toshio Kuratomi 5dce745868 Merge pull request #10690 from momandine/print_function
Print function
10 years ago
Ian Dotson d85f97ccfd Change how we're calling StringIO since we're now importing the class rather than a module. 10 years ago
Amandine Lee 683c2913c5 Use print function 10 years ago
Amandine Lee 3d2a056ad4 Import futures including print 10 years ago
Toshio Kuratomi b0479c425b Merge pull request #10688 from ianzd/devel
Import StringIO from six in a couple more places.
10 years ago
ian 3bb7b0eef3 Import StringIO from six in a couple more places. 10 years ago
Toshio Kuratomi 3a8088fe30 _available_vars in v1 == _available_variables in v2 10 years ago
Toshio Kuratomi 4bbca9211a Merge pull request #10687 from ianzd/devel
Several more changes to support python3 syntax.
10 years ago
Brian Coca 483c8d338f Merge pull request #10684 from eroldan/patch-1
Fixed wrong example of 'environment' for setting PATH
10 years ago
ian 1bdf0bb0d6 Several more changes to suport python3 syntax. 10 years ago
eroldan 87dde862bd Fixed wrong example of 'environment' for setting PATH 10 years ago
Dorian Pula 3504f1cad9 Add test requirements for working with v2. 10 years ago
Timothy Sutton 5f1ba589a5 Git integration test: remove test for ambiguous .git/branches dir
- '.git/branches' does not always exist, but the git integration
  tests always checks for this directory's existence so it always
  fails
- more info:
  - http://stackoverflow.com/questions/10398225/what-is-the-git-branches-folder-used-for
10 years ago
Toshio Kuratomi bad554d517 Merge pull request #9268 from kustodian/docs_advance_conditions
Added an example for paretheses
10 years ago
Toshio Kuratomi a444a7f363 Merge pull request #10680 from ianzd/devel
Change exceptions to python3 syntax.
10 years ago
Toshio Kuratomi 5f03638d2c Merge pull request #10679 from dorianpula/setup_py_for_v2
Add setup.py for v2 to allow for pip editable installs.
10 years ago
Dorian Pula b407dd8b58 Add setup.py for v2 to allow for pip editable installs. 10 years ago
ian 6747f82547 Change exceptions to python3 syntax. 10 years ago
Toshio Kuratomi 557cd15c25 Merge pull request #10677 from dorianpula/fix_re_import_test_failure
Fix re import failure in templates module when running unit tests.
10 years ago
Dorian Pula b193d327b6 Fix re import failure in templates module when running unit tests. 10 years ago
Toshio Kuratomi 1121928f50 Merge pull request #10318 from dmahler/devel
Some grammatical updates
10 years ago
Brian Coca 62c08d96e5 fixed another typo 10 years ago
Brian Coca 89cc54cc16 typo fix 10 years ago
Brian Coca b509de6c84 Merge pull request #10643 from bcoca/aix_facts_fix
fix for when calling bootinfo throws permmission errors (AIX)
10 years ago
Brian Coca 67512aeeb6 Merge pull request #10618 from jder/force-handlers
Fix --force-handlers, and allow it in plays and ansible.cfg
10 years ago
Brian Coca 224fd0adfe added fleetctl entry for new inventory script to changelog 10 years ago
Brian Coca af960fe8d5 Merge pull request #9624 from andrewrothstein/devel
an ansible inventory garnered from fleetctl
10 years ago
Brian Coca 080b395d9f Merge pull request #10676 from radarhere/patch-1
Fixed changelog typos
10 years ago
Andrew Murray e6b7b9206d Fixed changelog typos 10 years ago
Toshio Kuratomi de52cfb5d7 Merge pull request #10465 from feanil/feanil/fix_templates_for_ints_bools
Don't convert numbers and booleans to strings.
10 years ago
Feanil Patel 0abcebf1e4 Don't convert numbers and booleans to strings.
Before this change if a variable was of type int or bool and the variable was referenced
by another variable, the type would change to string.

eg. defaults/main.yml
```
PORT: 4567
OTHER_CONFIG:
  secret1: "so_secret"
  secret2: "even_more_secret"

CONFIG:
  hostname: "some_hostname"
  port: "{{ PORT }}"
  secrets: "{{ OTHER_CONFIG }}"
```

If you output `CONFIG` to json or yaml, the port would get represented in the output as a
string instead of as a number, but secrets would get represented as a dictionary.  This is
a mis-match in behaviour where some "types" are retained and others are not.  This change
should fix the issue.

Update template test to also test var retainment.

Make the template changes in v2.
Update to only short-circuit for booleans and numbers.

Added an entry to the changelog.
10 years ago