https://github.com/saltstack/salt/pull/21314 has been merged into develop, it could be used instead of doing cmd.run States should be arriving shortly.