is there some way to see that
lxd init --auto already ran? I am asking for the following reason. I want to use this in an Ansible playbook. In Ansible a task will usually check if the state into which it would bring the system has already been reached. If that is the case, the task won’t change a thing.
In order to achieve that, I’d need to be able to check if
lxd init --auto had been run prior to the task run.
Unfortunately even if containers are already running, I only get:
# lxd init --auto LXD has been successfully configured.
Is there a way to verify that
lxd init --auto was run before?