Actions
Bug #697
closedFix "Found variable using reserved name: port" (ansible-role-ssh role)
Start date:
2020-05-07
Due date:
% Done:
0%
Estimated time:
Patch Available:
Confirmed:
No
Branch:
dont_use_reserved_name_port
Entity:
DuckCorp
Security:
Help Needed:
Description
ansible-role-ssh: Don't use reserved name 'port'
Fix this warning:
[WARNING]: Found variable using reserved name: port
Once merged the following patch will be required on the main repository:
--- a/ansible/roles/dc-base/tasks/main.yml +++ b/ansible/roles/dc-base/tasks/main.yml @@ -52,7 +52,7 @@ import_role: name: ssh vars: - port: "{{ ssh.port }}" + sshd_port: "{{ ssh.port }}" listen_addresses: "{{ ssh.listen_addresses }}" # for GuiHome streaming enable_gatewayports: "{{ inventory_hostname == 'Toushirou' }}"
Actions