With connection: network_cli, the provider dictionary is no longer necessary. Here is a quick rundown of provider keys and their variable and commandline equivalents
provider | inventory variable | commandline |
---|---|---|
host | ansible_host | N/A |
port | ansible_port | N/A |