Commit graph

15081 commits

Author SHA1 Message Date
James Cammarata
135404738e Fix a couple start-at-task issues
* added pattern matching to match v1 functionality
* check the task name, not the task+role name for matches
* make sure the input is unicode

Fixes #11692
2015-07-22 07:45:03 -04:00
James Cammarata
975172c1ef Make sure role name doesn't end up in task name more than once
Fixes #11691
2015-07-22 07:28:25 -04:00
James Cammarata
b09f1f8e0b Account for filters in bare variable conversion
Fixes #11530
2015-07-22 00:08:55 -04:00
Brian Coca
ae54792a35 Merge pull request #11688 from amenonsen/8935-rebase
8935 rebase: add «-o outputfile» and -n(oexec) options to hacking/test-module
2015-07-21 21:31:39 -04:00
Brian Coca
d3fe9b3194 Merge pull request #11084 from echiu64/devel
More complex example of using test-module
2015-07-21 21:29:25 -04:00
Abhijit Menon-Sen
8342cc6b61 Fix existing typo, remove trailing space added by PR commit 2015-07-22 06:53:59 +05:30
Will Thames
b05485d4b3 Add options to control output and execution of test-module
test-module is useful but sometimes you want to edit the
result before running it to e.g. set a debug point.

Added a noexecute option (i.e. just create the module script, don't
run it) and an output option to choose the filename of the result.
2015-07-22 06:50:37 +05:30
Brian Coca
8729543cee Merge pull request #11687 from jeffwidman/patch-1
Remove mention of 'apache example'
2015-07-21 21:06:12 -04:00
Jeff Widman
52716c4dc7 Remove mention of 'apache example'
Removed explicit mention of 'apache'
2015-07-21 18:03:55 -07:00
Brian Coca
f2fcc39513 Merge pull request #11686 from ZviRackover/patch-1
Fix: add missing import 'locale'
2015-07-21 18:12:53 -04:00
ZviRackover
628925a77d Fix: add missing import 'locale' 2015-07-22 01:09:31 +03:00
Brian Coca
048cd755d9 Merge pull request #11683 from dirn/patch-1
Fix formatting of Groups of Groups
2015-07-21 15:38:15 -04:00
James Cammarata
4c733fe4b7 Fix issues with vars_prompt and vars_files
* Prompt had to be moved up, as it needed to be done before the first
  templating of the play occurs, otherwise vars_files won't be templated
  properly
* Fixed a bug related to an earlier fix of vars_files incorporating
  extra vars to do the templating of the file name

Fixes #11404
2015-07-21 14:52:57 -04:00
Andy Dirnberger
02589ffbba Fix formatting of Groups of Groups
The example in the Groups of Groups section was being rendered as a quote.
Switching to the `::` notation causes it to render as preformatted text instead.
This could have also been done with a `.. code:` block, but I chose to be
consistent with other sections in the document.
2015-07-21 14:44:49 -04:00
Toshio Kuratomi
491a4f2a25 Update extras module pointer for docs fix 2015-07-21 11:21:58 -07:00
Brian Coca
47a22af6c9 added profitbricks cloud module 2015-07-21 14:04:06 -04:00
James Cammarata
adf1d4d9b9 Submodule pointer update 2015-07-21 14:03:27 -04:00
James Cammarata
66a8864ae9 Fix environment setting and inheritence
Fixes #11401
2015-07-21 13:57:30 -04:00
Brian Coca
29a9b8ab7d dont check vagrant inventory script for 2.6 2015-07-21 13:44:45 -04:00
Brian Coca
152c93fd54 Merge pull request #11678 from hostmaster/vagrant-inventory-refactor
Feature Pull Request: vagrant inventory, bugfixing and refactoring
2015-07-21 13:40:18 -04:00
James Cammarata
91519d1696 Don't filter include tasks based on tags
Fixes #11320
2015-07-21 12:37:22 -04:00
James Cammarata
46f74a0d69 Re-adding --start-at-task test to unicode integration test 2015-07-21 12:36:41 -04:00
James Cammarata
e64989beb4 Moving ConnectionInformation -> PlayContext
Also making PlayContext a child class of the Playbook Base class,
which gives it access to all of the FieldAttribute code to ensure
field values are correctly typed after post_validation

Fixes #11381
2015-07-21 12:13:50 -04:00
Brian Coca
919aaa5c42 Merge pull request #9853 from axos88/patch-1
Make issue rypes as an enumeration
2015-07-21 10:56:43 -04:00
Igor Khomyakov
8113409d34 Refactored.
Paramiko module is used to parse ssh_config.
Added multi-vm support
Added "_meta" element https://docs.ansible.com/ansible/developing_inventory.html#tuning-the-external-inventory-script
2015-07-21 17:55:25 +03:00
Brian Coca
827b0443c8 now dataloader checkis that you get at least a valid string as a file name 2015-07-21 08:47:13 -04:00
James Cammarata
7124504ccf Incorporate extra vars when templating vars_files
Fixes #11377
2015-07-21 02:10:26 -04:00
James Cammarata
b8b206005c Generalize extra variable parsing and loading
Fixes #11352
2015-07-21 00:18:35 -04:00
Brian Coca
d8b62f3b34 Merge pull request #9923 from bob-smith/docformatting
Correct URL to github so links work when testing locally
2015-07-20 23:15:40 -04:00
Brian Coca
db459fd3b3 Merge pull request #9930 from bob-smith/patch-1
Fix some mistakes in CHANELOG.md
2015-07-20 23:13:57 -04:00
Brian Coca
84cc5f9afb Merge pull request #9961 from volanja/replace_running_to_started
to replace `running` with `started`
2015-07-20 23:13:29 -04:00
Brian Coca
7cf33df0df Merge pull request #10861 from dfarrell07/minor_docfix
Correct minor grammar error in Playbook intro docs
2015-07-20 22:31:50 -04:00
Brian Coca
c40541964b Merge pull request #11637 from bcoca/moar_docs
Moar docs
2015-07-20 22:31:34 -04:00
Brian Coca
740f15cb0d just remove version_added when to old, not the whole option! 2015-07-20 22:31:20 -04:00
James Cammarata
11be1ff2d4 Merge branch 'pilou--test_notify_with_loops' into devel 2015-07-20 21:10:21 -04:00
James Cammarata
b09eed3353 Merge branch 'test_notify_with_loops' of https://github.com/pilou-/ansible into pilou--test_notify_with_loops 2015-07-20 21:09:34 -04:00
Brian Coca
5b5ba35111 Merge pull request #11631 from bearstech/gce
GCE tag prefix for creating ansible group.
2015-07-20 19:58:29 -04:00
James Cammarata
fadd8f23f1 Fix broken strategy unit test from earlier change 2015-07-20 15:47:29 -04:00
James Cammarata
3de6f264dd Fix bug where spaces in the $HOME directory broke things
Fixes #11332
2015-07-20 15:40:49 -04:00
James Cammarata
91a4b866b0 Fix ssh pipelining 2015-07-20 15:40:49 -04:00
Toshio Kuratomi
ddec06ccfe Detect the old python-json library
Fixes #11654
2015-07-20 12:35:26 -07:00
James Cammarata
5347db2952 Also check the play basedir for the role
Fixes #11328
2015-07-20 14:47:38 -04:00
James Cammarata
dca36c1d16 Reestablishing the use of tags/when for role duplication detection
Not figuring these in can cause problems with "diamond" pattern relationships,
even though this is still not quite optimal.
2015-07-20 14:37:20 -04:00
Toshio Kuratomi
a0a6d12b05 Merge pull request #11603 from ansible/get_url-tls-compat
Have openssl autonegotiate tls protocol on python < 2.7.9
2015-07-20 09:43:59 -07:00
Brian Coca
9b1babdaec fixed typo 2015-07-20 12:31:35 -04:00
Brian Coca
cc6ba4b459 fixed spelling 2015-07-20 12:30:15 -04:00
Brian Coca
f8ca978020 fixed extra hashmark 2015-07-20 12:29:18 -04:00
Brian Coca
e9400e9ba5 added commented out callback options 2015-07-20 12:27:51 -04:00
Brian Coca
6bff315ed8 Merge pull request #11656 from MiguelMoll/small-grammar-fix
Update intro_configuration.rst
2015-07-20 10:39:41 -04:00
Brian Coca
03d7c8d7ca fixed new HPUX networking facts 2015-07-20 10:27:04 -04:00