Ansible questions

I looked at Ansible in Qubes and I have some questions coming from Salt:

  1. Can I configure dom0?
    I need to install packages, is there a qvm.installed equivalent that uses qubes-dom0-update?
    I also need to copy files to dom0, such as policies in /etc/ and dotfiles in ~, is that possible too?

  2. What is qubesctl + top equivalent in Ansible?
    In qubesctl command it’s possible to target --app or --templates or --all with tops enabled and it will look at enabled tops and run those states, do I have to write it down in a file in Ansible?

  3. How do I target VMs that don’t exist yet?
    Let’s say in qubesctl I would do --targets=template,appvm,dispvm it would first create those in dom0 then run states in those targets. How can I do that in Ansible?

What do you mean by this exactly? There are several ways you can use ansible with qubes, including some that have projects with documentation. Are you referring specifically to any of these?