This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {%- if storage.cinder_enabled and storage.cinder_driver != ['nfs'] %} | |
| CinderVolumes.create_and_delete_snapshot: | |
| {%- for storage_driver in storage.cinder_driver|reject("equalto", "nfs") %} | |
| {%- for cinder_api in cinder_api_versions|default([{"version": 1, "service_type": "volume"}]) %} | |
| - args: | |
| force: false | |
| context: | |
| users: | |
| tenants: {{smoke|default(2)}} | |
| users_per_tenant: {{smoke|default(2)}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % ansible-lint test.yml | |
| Couldn't parse task at Unknown (no action detected in task. This often indicates a misspelled module name, or incorrect module path.) | |
| { '__line__': 5, 'bogus': True, 'name': 'bogus'} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data_ordered = [int(l) for l in open("gamedata/tf2_50k.dat").readlines()] | |
| peaks = [] | |
| in_peak = False | |
| for point in data_ordered: | |
| if point > 27395: | |
| if in_peak: | |
| peaks[-1] += 5 | |
| else: | |
| peaks.append(5) | |
| in_peak = True |
OlderNewer