diff --git a/lib/ansible/modules/network/eos/eos_eapi.py b/lib/ansible/modules/network/eos/eos_eapi.py index b1f1b6fd7d..7298a463ab 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 6594a3bee4..fecdccfcec 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