I looked at Ansible in Qubes and I have some questions coming from Salt:
-
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? -
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? -
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?