return { { "nvim-treesitter/nvim-treesitter", opts = function(_, opts) if type(opts.ensure_installed) == "table" then vim.list_extend(opts.ensure_installed, { "yaml" }) end end, }, { "williamboman/mason.nvim", opts = function(_, opts) opts.ensure_installed = opts.ensure_installed or {} vim.list_extend(opts.ensure_installed, { "ansible-lint", "ansible-language-server" }) end, }, { "neovim/nvim-lspconfig", opts = { servers = { ansiblels = {}, }, }, }, { "mfussenegger/nvim-lint", opts = { linters_by_ft = { ansible = { "ansible-lint" }, }, }, }, { "mfussenegger/nvim-ansible", keys = { { "tp", function() require("ansible").run() end, desc = "Run Ansible Playbooks", }, }, }, }