mirror of
https://github.com/atosatto/ansible-minio.git
synced 2024-11-21 11:15:18 +01:00
Fix ansible-lint error on double quote (#37)
This commit is contained in:
parent
d79b215a01
commit
0bceb1d5d8
@ -10,7 +10,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
|||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture()
|
||||||
def AnsibleDefaults():
|
def AnsibleDefaults():
|
||||||
with open("../../defaults/main.yml", 'r') as stream:
|
with open('../../defaults/main.yml', 'r') as stream:
|
||||||
return yaml.load(stream)
|
return yaml.load(stream)
|
||||||
|
|
||||||
|
|
||||||
@ -42,4 +42,4 @@ def test_minio_server_data_directories(host, AnsibleDefaults, minio_datadir):
|
|||||||
|
|
||||||
def test_minio_server_webserver(host):
|
def test_minio_server_webserver(host):
|
||||||
|
|
||||||
host.socket("tcp://127.0.0.1:80").is_listening
|
host.socket('tcp://127.0.0.1:80').is_listening
|
||||||
|
@ -10,7 +10,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
|||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture()
|
||||||
def AnsibleDefaults():
|
def AnsibleDefaults():
|
||||||
with open("../../defaults/main.yml", 'r') as stream:
|
with open('../../defaults/main.yml', 'r') as stream:
|
||||||
return yaml.load(stream)
|
return yaml.load(stream)
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
|||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture()
|
||||||
def AnsibleDefaults():
|
def AnsibleDefaults():
|
||||||
with open("../../defaults/main.yml", 'r') as stream:
|
with open('../../defaults/main.yml', 'r') as stream:
|
||||||
return yaml.load(stream)
|
return yaml.load(stream)
|
||||||
|
|
||||||
|
|
||||||
@ -40,4 +40,4 @@ def test_minio_server_data_directories(host, AnsibleDefaults):
|
|||||||
|
|
||||||
def test_minio_server_webserver(host):
|
def test_minio_server_webserver(host):
|
||||||
|
|
||||||
host.socket("tcp://127.0.0.1:9091").is_listening
|
host.socket('tcp://127.0.0.1:9091').is_listening
|
||||||
|
Loading…
Reference in New Issue
Block a user