From 4b53539e2765d45d6f37ceb2bf6e68921f4f6448 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Tue, 9 Jan 2018 15:24:45 +0100 Subject: [PATCH] Fix enable_https alias docstring (#34633) * Fix enable_https alias docstring * Explicitly set https on test, as we are setting https_port anyways --- lib/ansible/modules/network/eos/eos_eapi.py | 2 +- test/integration/targets/eos_eapi/tests/cli/configure.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/eos/eos_eapi.py b/lib/ansible/modules/network/eos/eos_eapi.py index b1f1b6fd7d8..7298a463ab0 100644 --- a/lib/ansible/modules/network/eos/eos_eapi.py +++ b/lib/ansible/modules/network/eos/eos_eapi.py @@ -69,7 +69,7 @@ options: required: false default: yes choices: ['yes', 'no'] - aliases: ['enable_http'] + aliases: ['enable_https'] https_port: description: - Configures the HTTP port that will listen for connections when diff --git a/test/integration/targets/eos_eapi/tests/cli/configure.yaml b/test/integration/targets/eos_eapi/tests/cli/configure.yaml index 6594a3bee4d..fecdccfcec5 100644 --- a/test/integration/targets/eos_eapi/tests/cli/configure.yaml +++ b/test/integration/targets/eos_eapi/tests/cli/configure.yaml @@ -6,6 +6,7 @@ http_port: 81 https_port: 4443 enable_local_http: yes + enable_https: yes local_http_port: 8181 provider: "{{ cli }}" become: yes