How to use Ansible layer in Spacemacs?
I am trying to understand how to write Ansible roles and test them using this layer. I added ansible
to dotspacemacs-configuration-layers
, restarted Spacemacs and checked Messages to see what is loaded.
Loading /home/anatoli/.emacs.d/layers/+tools/ansible/packages.el (source)...done
Loading /home/anatoli/.emacs.d/layers/+tools/ansible/layers.el (source)...
Loading /home/anatoli/.emacs.d/layers/+lang/yaml/packages.el (source)...done
Loading /home/anatoli/.emacs.d/layers/+tools/ansible/layers.el (source)...done
...
Loading /home/anatoli/.emacs.d/layers/+tools/ansible/funcs.el (source)...done
...
Loading /home/anatoli/.emacs.d/layers/+tools/ansible/config.el (source)...done
I still don't see anything. SPC m h a
from documentation doesn't work - resulting in SPC m is undefined
. Spacemacs shows /YAML\
at the bottom near the filename. I don't see that Spacemacs detected YAML file as an Ansible playbook - I don't get any hints or errors displayed on the screen. Perhaps I need to change mode from YAML to Ansible somehow. If so - how do I do this?