LazyVim.LazyVim/lua/lazyvim/plugins/extras/lang/ansible.lua

35 lines
610 B
Lua
Raw Permalink Normal View History

return {
recommended = function()
return LazyVim.extras.wants({
ft = "yaml.ansible",
root = { "ansible.cfg", ".ansible-lint" },
})
end,
{
2025-05-12 10:39:04 +02:00
"mason-org/mason.nvim",
opts = { ensure_installed = { "ansible-lint" } },
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
ansiblels = {},
},
},
},
{
"mfussenegger/nvim-ansible",
ft = {},
keys = {
2024-03-07 16:40:58 +01:00
{
"<leader>ta",
2024-03-07 16:40:58 +01:00
function()
require("ansible").run()
end,
desc = "Ansible Run Playbook/Role",
2024-03-07 16:40:58 +01:00
silent = true,
},
},
},
}