Commit graph

13851 commits

Author SHA1 Message Date
Brian Coca
67512aeeb6 Merge pull request #10618 from jder/force-handlers
Fix --force-handlers, and allow it in plays and ansible.cfg
2015-04-13 10:16:45 -04:00
Brian Coca
224fd0adfe added fleetctl entry for new inventory script to changelog 2015-04-13 10:10:32 -04:00
Brian Coca
af960fe8d5 Merge pull request #9624 from andrewrothstein/devel
an ansible inventory garnered from fleetctl
2015-04-13 10:06:27 -04:00
Brian Coca
080b395d9f Merge pull request #10676 from radarhere/patch-1
Fixed changelog typos
2015-04-13 09:49:33 -04:00
Andrew Murray
e6b7b9206d Fixed changelog typos 2015-04-13 23:45:09 +10:00
Toshio Kuratomi
de52cfb5d7 Merge pull request #10465 from feanil/feanil/fix_templates_for_ints_bools
Don't convert numbers and booleans to strings.
2015-04-11 09:08:24 -07:00
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.
2015-04-11 12:03:42 -04:00
Chris Church
a6084f9fd8 Merge pull request #9222 from cchurch/win_user_tests
Tests for win_user module
2015-04-11 02:11:32 -04:00
Chris Church
42bd640d14 Update win_user tests to set a group on user creation. 2015-04-11 01:55:56 -04:00
Chris Church
56f4bf44f5 Add integration tests for win_user module. 2015-04-11 01:55:56 -04:00
Jesse Rusak
652cd6cd5e Fix --force-handlers, and allow it in plays and ansible.cfg
The --force-handlers command line argument was not correctly running
handlers on hosts which had tasks that later failed. This corrects that,
and also allows you to specify force_handlers in ansible.cfg or in a
play.
2015-04-10 19:38:59 -04:00
Brian Coca
e6fa169a05 Merge pull request #10629 from bcoca/backup_local_exists
backup_local now only tries to back up exising files, returns '' otherwise
2015-04-10 19:12:48 -04:00
Toshio Kuratomi
2af6314f57 Comment to clarify why we add one to the line and column recording 2015-04-10 04:09:50 -07:00
Toshio Kuratomi
79f9fbd50e Reverse the error messages from jsonfile get and set 2015-04-10 04:09:50 -07:00
Brian Coca
c225290436 Merge pull request #10665 from cchurch/doc_updates_for_winrm_fixes
Update windows documentation to indicate how to specify kerberos auth.
2015-04-09 16:00:27 -04:00
Chris Church
944690118f Update windows documentation to indicate how to specify kerberos vs. basic auth. 2015-04-09 15:51:43 -04:00
Brian Coca
a90bb89b93 Merge pull request #10664 from cchurch/winrm_fixes
WinRM Connection Fixes
2015-04-09 15:32:05 -04:00
Chris Church
7ba2950c5a Remove winrm connection cache (only useful when running against one host). Also fixes #10391. 2015-04-09 13:45:21 -04:00
Chris Church
5675982b0f Only try kerberos auth when username contains @ and pass realm to pywinrm. Alternative to #10644, fixes #10577. 2015-04-09 13:37:11 -04:00
Toshio Kuratomi
c75baaa140 Merge pull request #10630 from viesti/viesti-master
Use codecs module while reading & writing json cache file
2015-04-09 10:36:43 -07:00
Chris Church
7f034a74d1 Add -ExecutionPolicy Unrestricted back, was removed by #9602. 2015-04-09 13:29:38 -04:00
Brian Coca
fe2cc6dd02 Merge pull request #10658 from erinn/freeipa_compat
Changes to api in FreeIPA > 4.0 compatibility fix.
2015-04-09 10:05:21 -04:00
Brian Coca
cd852225f8 Merge pull request #10662 from jlaska/debian_changelog
Improve generation of debian changelog
2015-04-09 09:42:43 -04:00
James Laska
bbc05a2cf5 Improve generation of debian changelog 2015-04-09 09:30:56 -04:00
Erinn Looney-Triggs
a3b35ed1a6 Small change for FreeIPA < 4.0 compatibility. 2015-04-08 20:33:38 -06:00
Brian Coca
1e7f7bfc12 Merge pull request #10642 from gaomd/patch-1
Remove redundant whitespace.
2015-04-08 11:21:22 -04:00
Brian Coca
9e5c65babd Merge pull request #10649 from ndonegan/devel
Updated outdated link to module directory.
2015-04-08 09:30:50 -04:00
Niall Donegan
3ae4ee9c52 Updated outdated link to module directory.
Core modules link updated and Extras link added.
2015-04-08 14:24:21 +01:00
Brian Coca
1c796543c9 fix for when calling bootinfo throws permmission errors (AIX)
fixes https://github.com/ansible/ansible-modules-core/issues/1108
2015-04-08 03:30:21 -04:00
Brian Coca
e122236f55 updated submodule refs 2015-04-08 03:18:13 -04:00
Brian Coca
3c9890a358 now in v2 everything passes a single passwords hash 2015-04-08 03:17:32 -04:00
Mengdi Gao
665babdaab Remove redundant whitespace. 2015-04-08 14:19:45 +08:00
Chris Church
640a2b811f Merge pull request #10633 from centromere/patch-1
Fixed typo
2015-04-07 18:03:00 -04:00
John Galt
72457e4326 Fixed typo 2015-04-07 12:19:37 -04:00
James Cammarata
1cf911d524 Back-porting Makefile changes for version/release 2015-04-07 09:54:19 -05:00
James Cammarata
b8a9d87f30 Fixing the VERSION file to match the expected "version release" format 2015-04-07 08:22:56 -05:00
Kimmo Koskinen
9409cc7443 Use codecs module while reading & writing json cache file 2015-04-07 14:26:42 +03:00
Brian Coca
faadb68308 backup_local now only tries to back up exising files, returns '' otherwise 2015-04-06 23:37:32 -04:00
James Cammarata
7076298dc1 Adding FIXME note to playbook executor code regarding password params 2015-04-06 22:27:14 -05:00
Brian Coca
d732c94ac2 a bunch of updates to connection info and related, to pass down passwords
also now options populate required fields in required order allowing play to override
added capture of debug in action plugins when stdout is not json
2015-04-06 22:35:02 -04:00
Brian Coca
bdd838f876 Merge pull request #10625 from discordianfish/patch-1
Replace - in ec2 inventory as well
2015-04-06 21:12:43 -04:00
Brian Coca
a6778fdff0 Merge pull request #10623 from CVirus/patch-1
Replaced --start-at with --start-at-task
2015-04-06 20:54:08 -04:00
Brian Coca
f82b1f12e8 Merge pull request #10628 from detiber/module_utils_facts
Fix indentation
2015-04-06 19:52:11 -04:00
James Cammarata
f6c116a81f Updating version to contain the full major/release 2015-04-06 18:30:38 -05:00
Jason DeTiberus
43775daa4b Fix indentation 2015-04-06 16:47:52 -04:00
James Cammarata
2244178c6d Updating debian packaging changelog for devel 2.0 version 2015-04-06 14:09:49 -05:00
James Cammarata
5150d83d01 Fixing the version in lib/ 2015-04-06 12:15:07 -05:00
Johannes 'fish' Ziemke
c7f3362795 Replace - in ec2 inventory as well
Dash (-) is not a variable ansible group name, so it needs to be replaced as well.
2015-04-06 14:43:39 +02:00
Mohamed Hazem
bb3f50361e Replaced --start-at with --start-at-task 2015-04-05 20:47:22 +03:00
James Cammarata
e82ba723e2 Fixing multiple v2 bugs 2015-04-05 01:07:47 -05:00