authorize and auth_pass
Ansible still supportsenablemode withconnection:localfor legacy network playbooks. To enterenablemode withconnection:local, use the module optionsauthorizeandauth_pass:
We recommend updating your playbooks to usebecomefor network-deviceenablemode consistently. The use ofauthorizeandproviderdictionaries will be deprecated in the future. Check thePlatform Optionsdocumentation for details.