Chris Houseknecht
7964a2fca3
Upgrade to azure 2.0.0rc5 and add locations parameter.
2016-07-09 01:42:39 -04:00
Matt Clay
0ada7eae5e
Add test tags for shell and command modules.
2016-07-08 17:41:58 -07:00
jctanner
fe8258a378
make timeout decorator for facts have a configurable duration ( #16551 )
...
* Add a gather_timeout parameter
* update example ansible.cfg
* fix play level fact gathering too
2016-07-08 17:46:41 -04:00
James Tanner
ebd3eeec8c
Update submodule refs
2016-07-08 17:28:11 -04:00
jctanner
46cdb27376
Add proposals template ( #16654 )
2016-07-08 17:04:03 -04:00
Matt Davis
34c538262c
Merge pull request #16639 from jhawkesworth/msi_test_fix
...
fix win_msi tests by setting wait: true on all win_msi tasks.
2016-07-08 13:34:03 -07:00
James Cammarata
3d7a7c1612
Add RELEASE.tmpl for releases and tweak release playbook
2016-07-08 12:59:41 -05:00
Brian Coca
7657f75f75
removed defined/undefined as jinja2 already has em
2016-07-08 12:11:22 -04:00
Brian Coca
7f28bcacaa
added defined/undefined tests
2016-07-08 11:28:37 -04:00
James Cammarata
60ef91aae7
Fixing up release playbook based on new location
2016-07-08 10:08:39 -05:00
Rene Moser
787616cb39
doc: add vmware_local_user_manager to changelog
2016-07-08 11:02:02 +02:00
=
3c66caa058
fix win_msi tests by setting wait: true on all win_msi tasks.
...
I suspect this problem was masked previously as older versions of pywinrm
where significantly slower, allowing more time for the windows installer service to complete.
2016-07-08 06:46:27 +01:00
Nathaniel Case
af5fba759f
EOS new ModuleStub
...
As per #16575
2016-07-07 16:09:28 -04:00
Matt Clay
bbffa0a0e9
Add tags for modules without dedicated test roles.
2016-07-07 12:42:07 -07:00
James Cammarata
9ad8132628
Updating submodule refs
2016-07-07 13:49:42 -05:00
James Cammarata
cd4412016a
Updating integration tests for async testing
2016-07-07 13:48:11 -05:00
Peter Sprygada
b4d36f6ed4
Implement IOS restconf
2016-07-07 14:39:47 -04:00
Nathaniel Case
18738c81da
New ModuleStub solution
2016-07-07 14:35:27 -04:00
Matt Davis
30c63a41e9
Merge pull request #16555 from matsu-chara/fix-error-msg-default-to-defaults
...
fix default/main.yml to defaults/main.yml
2016-07-07 11:14:54 -07:00
nitzmahone
b6d41d3d4b
bump extras submodule ref
2016-07-07 10:59:36 -07:00
Nathaniel Case
72204ddd3e
Net mod ios ( #16426 )
...
* Update IOS with new NetworkModule
* Remove redundant EOS code
* `authorize` can get rolled into NetCli
* Fix up IOS to where EOS is.
* Update IOSXR for NetworkModule
* collections is unnecessary
2016-07-07 13:46:33 -04:00
Matt Clay
9a6b8ab271
Add more tags to test_async role.
2016-07-07 10:38:41 -07:00
James Cammarata
6cde80fe69
Updating submodule refs
2016-07-07 11:32:46 -05:00
Brian Coca
906dc99c64
correctly set become value in console
...
fixes #16614
2016-07-07 10:42:40 -04:00
James Cammarata
eeea6b5f54
Tweaking release vars file format and structure
2016-07-07 09:39:13 -05:00
James Cammarata
9799984524
Merge pull request #16623 from bcoca/release_reorg
...
reorganized release playbook
2016-07-07 08:56:13 -05:00
Brian Coca
940533762d
reorganized release playbook
...
moved versions into it's own file to keep the main play more readable
2016-07-07 09:45:36 -04:00
Matt Clay
fdf22b5a40
Support module tests on a single image. ( #16620 )
2016-07-06 23:37:56 -07:00
James Cammarata
9248cde239
Force remote_user to be the currently user for connection=local
...
Fixes ansible-modules-core#4092
2016-07-06 23:09:07 -05:00
Matt Clay
696feacbb6
Add script to generate module tests. ( #16617 )
2016-07-06 20:07:33 -07:00
Toshio Kuratomi
251c9182fe
Refactor network and eos module_utils to use a subclass instead of factory function to create the NetworkModule
2016-07-06 18:24:24 -07:00
Toshio Kuratomi
626e6aee7d
Update core submodule for unarchive fixes
2016-07-06 16:24:29 -07:00
Toshio Kuratomi
d1558fcee4
Don't check that we import basic.py in new-style modules ( #16613 )
...
Since Ansiballz, we no longer need to import basic directly into
a new-style module. Some modules, like the Networking modules, may
import basic in their own module_utils files and the module will import
that specialized module_util file rather than basic.
2016-07-06 15:28:08 -07:00
Toshio Kuratomi
a93cf801e1
Update submodule refs
2016-07-06 14:42:32 -07:00
Monty Taylor
229d8f6b21
Don't treat parsing problems as async task timeout ( #16458 )
...
* Don't treat parsing problems as async task timeout
If there is a problem reading/writing the status file that manifests as
not being able to parse the data, that doesn't mean the task timed out,
it means there was what was likely a tempoarary problem. Move on and
keep polling for success. The only things that should cause the async
status to not be parseable are bugs in the async_runner.
* Add comment explaining not bailing out of loop
* Return different error when result is unparseable
* Remove extraneous else
2016-07-06 14:26:50 -07:00
James Cammarata
930d090507
Fix the way handlers are compiled and found/notified
...
* Instead of rebuilding the handler list all over the place, we now
compile the handlers at the point the play is post-validated so that
the view of the play in the PlayIterator contains the definitive list
* Assign the dep_chain to the handlers as they're compiling, just as we
do for regular tasks
* Clean up the logic used to find a given handler, which is greatly
simplified by the above changes
Fixes #15418
2016-07-06 14:57:38 -05:00
Brian Coca
729686a434
added back spaces for profile_tasks formatting
2016-07-06 15:39:09 -04:00
Toshio Kuratomi
d38cc1e0a1
Remove doubled instantiation of the zipfile ( #16609 )
2016-07-06 12:22:42 -07:00
René Moser
0f5f5fffee
cloudstack: handle unicode API results in has_changed ( #16601 )
...
* cloudstack: handle unicode API results in has_changed
* cloudstack: add more case sensitve keys
2016-07-06 20:27:31 +02:00
Peter Sprygada
58eab8ee9f
Merge pull request #16573 from privateip/network
...
captures the responses from running commands and adds response to object
2016-07-06 14:19:13 -04:00
James Cammarata
690bc192d5
Use get_handler_blocks() to get list of role handlers
2016-07-06 12:29:29 -05:00
Toshio Kuratomi
3f4027f7b4
Add the PID of the Ansible process to local_tmp directory. ( #16589 )
...
This aids in associating a leftover cachedir with a previous run of
Ansible. Came about because of #16489
2016-07-06 10:02:20 -07:00
Will Thames
0e16a5f3ee
Retain local tar.gz roles during galaxy install ( #16592 )
...
Don't treat local tar.gz files as temporary when cleaning
up at the end of an ansible-galaxy install
2016-07-06 12:28:54 -04:00
nitzmahone
1c2bc49025
update docs for unsupported Windows features
2016-07-06 08:18:20 -07:00
Ryan S. Brown
59e499f8f0
Respect profiles & credentials for boto3 inventory
...
Using boto3 directly wasn't properly using profiles set in the `ec2.ini`
file, this change uses the `module_utils` boto3_conn instead.
2016-07-06 10:57:31 -04:00
Tom Paine
418f91d0e2
Fail softly when boto3 is not installed
...
Updated as per @ryansb comments. The EC2 inventory script will now fail
with a useful message when boto3 is not installed and the user is trying
to read RDS cluster information.
2016-07-06 10:57:31 -04:00
Tom Paine
bb5a1f7440
Add RDS cluster info to EC2 dynamic inventory
...
Add db_clusters to the ec2 inventory. Show tags. Only show clusters
matching tags in the `.ini`. Set `include_rds_clusters = True` option to
enable RDS cluster inventory collection.
Example inventory output:
```
{
"db_clusters": {
"ryansb-cluster-test": {
"AllocatedStorage": 1,
"AvailabilityZones": [
"us-west-2a",
"us-west-2b",
"us-west-2c"
],
"BackupRetentionPeriod": 1,
"DBClusterIdentifier": "ryansb-cluster-test",
"DBClusterMembers": [
{
"DBClusterParameterGroupStatus": "in-sync",
"DBInstanceIdentifier": "ryansb-test",
"IsClusterWriter": true,
"PromotionTier": 1
},
{
"DBClusterParameterGroupStatus": "in-sync",
"DBInstanceIdentifier": "ryansb-test-us-west-2b",
"IsClusterWriter": false,
"PromotionTier": 1
}
],
"DBClusterParameterGroup": "default.aurora5.6",
"DBSubnetGroup": "default",
"DatabaseName": "mydb",
"DbClusterResourceId": "cluster-OB6H7JQURFKFD4BYNHG5HSRLBA",
"Endpoint": "ryansb-cluster-test.cluster-c9ntgaejgqln.us-west-2.rds.amazonaws.com",
"Engine": "aurora",
"EngineVersion": "5.6.10a",
"MasterUsername": "admin",
"Port": 3306,
"PreferredBackupWindow": "06:09-06:39",
"PreferredMaintenanceWindow": "mon:11:22-mon:11:52",
"ReadReplicaIdentifiers": [],
"Status": "available",
"StorageEncrypted": false,
"VpcSecurityGroups": [
{
"Status": "active",
"VpcSecurityGroupId": "sg-47eaea20"
}
]
}
},
"rds": [
"ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com",
"ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com"
],
"rds_aurora": [
"ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com",
"ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com"
],
"rds_parameter_group_default_aurora5_6": [
"ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com",
"ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com"
],
"ryansb-test": [
"ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com"
],
"ryansb-test-us-west-2b": [
"ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com"
],
"type_db_r3_large": [
"ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com",
"ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com"
],
"us-west-2": [
"ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com",
"ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com"
],
"us-west-2a": [
"ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com"
],
"us-west-2b": [
"ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com"
],
"vpc_id_vpc_3ca34459": [
"ryansb_test_c9ntgaejgqln_us_west_2_rds_amazonaws_com",
"ryansb_test_us_west_2b_c9ntgaejgqln_us_west_2_rds_amazonaws_com"
]
}
```
2016-07-06 10:57:31 -04:00
Ryan S. Brown
ddf2a73640
Make it possible to use boto3_conn outside modules
...
The `boto3_conn` function requires a module argument, and calls
`module.fail_json` if the connection doesn't receive enough arguments.
In non-module settings like inventory scripts, there is no module to be
passed.
The `boto3_inventory_conn` function takes the same arguments except for
`module`, and both call _boto3_conn which doesn't require a module be
passed.
2016-07-06 10:57:31 -04:00
Peter Sprygada
7d53fd2ef2
Merge pull request #16587 from privateip/netcfg
...
minor bug fixes found in netcfg
2016-07-05 21:16:15 -04:00
Peter Sprygada
c9dccd3566
Merge pull request #16588 from privateip/vyos
...
bug fixes in vyos shared module
2016-07-05 21:15:57 -04:00