James Cammarata
96a7d85b61
Adding more magic variables for connection info to v2
2015-04-15 01:17:02 -05:00
Toshio Kuratomi
61379a609b
Merge pull request #10717 from mscherer/fix_connexion_info
...
Fix various pylint issues ( missing import and wrong variable names )
2015-04-14 19:19:23 -07:00
James Cammarata
dd1c14a0c7
Adding a method for setting up magic variables from connection info in v2
2015-04-14 21:11:12 -05:00
Michael Scherer
1acd56a9aa
Fix various pylint issues ( missing import and wrong variable names )
2015-04-14 19:04:08 -04:00
root
996bd05823
Revert "Rather than moving connection option setting, fix defaults"
...
This reverts commit 0345b675f8
.
2015-04-14 13:40:50 -07:00
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
2015-04-14 12:06:19 -05:00
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
2015-04-14 10:56:10 -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
James Cammarata
393246fdd3
Make v2 playbook class attributes inheritable
...
Also fixing some other become-related things
2015-03-20 14:15:12 -05:00
James Cammarata
3473a3bbec
Changes to become cmd formatting, per a47c132
2015-03-17 10:50:41 -05:00
James Cammarata
316284c56b
Making blocks support become, and cleaning up sudo/su references
2015-03-17 10:35:46 -05:00
James Cammarata
22304afd1d
More fixing of become stuff in v2
2015-03-13 15:31:20 -05:00
James Cammarata
070c7c319f
Started implementing become in v2
2015-03-13 11:58:00 -05:00
James Cammarata
31dd75de59
Fixing many bugs in v2
...
* delegate_to rudimentary support (still needs much more work)
* lots of other things
2015-02-09 16:56:38 -06:00
James Cammarata
b6a34518ad
Fixing checkmode support and some other things in v2
2015-01-28 13:21:52 -06:00
James Cammarata
f9d451eb9c
Adding post-validation method to connection info object
2015-01-22 22:49:04 -05:00
Brian Coca
976f51e5f5
Merge pull request #9968 from bcoca/v2_play_env
...
V2: added environment to play
2015-01-19 15:17:15 -05:00
James Cammarata
2aeb79f45f
Starting work on getting integration tests working on v2
...
This is incomplete work, and requires some minor tweeks to the integration
tests which are not included in this commit.
2015-01-12 16:07:01 -06:00
Brian Coca
b250e138d3
added environment to play and made both it and no_log inhertiable by
...
task
2015-01-09 12:39:49 -05:00
James Cammarata
065733ad93
Moving more action plugins over and fixing some bugs with role loading
2015-01-07 10:48:33 -06:00
James Cammarata
62d79568be
Creating playbook executor and dependent classes
2014-12-29 10:46:47 -06:00