Oliver Davies
b94e7267ce
Add a new `drupalclass` snippet for Luasnip that scaffolds a new PHP class that's opinionated for Drupal applications. The class name is based on the filename (minus the file extension) and the namespace is generated automatically from the directory structure based on the location of the `src` directory. It also includes the `Tests` entry within the namespace if the file is witin a `tests` directory. |
||
---|---|---|
bin | ||
group_vars | ||
roles | ||
.gitignore | ||
ansible.cfg | ||
hosts.ini | ||
main.yaml | ||
README.md | ||
requirements.yml | ||
stylua.toml |
dotfiles
My personal dotfiles, originally for macOS only but currently being adapted for use on Linux based systems (Ubuntu and Pop!_OS in particular) where needed.
The repository is powered using Ansible, with each software package and its
associated configuration within separate roles within the roles
directory.
The neovim
role, for example, has its own tasks in roles/neovim/tasks/main.yaml
and files in roles/neovim/files
.
Files within a role are typically symlinked into their required destination so that they will be automatically updated without needing to run the playbook again.
For example, the files and directories within the neovim role are symlinked
into ~/.config/nvim
.
Requirements
Installation
$ ansible-playbook main.yaml --ask-become-pass