if tgt:
            changed = True
            client = salt.netapi.NetapiClient(opts)
            client.run(
                {