graycatya.ansibles_spacevim
Ansible Role: SpaceVim
This role installs and sets up SpaceVim on RHEL/CentOS (versions 7 and 8) or Debian/Ubuntu servers.
Tested on:
- CentOS 7
- CentOS 8
- Ubuntu 18.04
- Ubuntu 19.04
Requirements
- Ubuntu 19.04
You need to set:
ansible_python_interpreter=/usr/bin/python3 - Windows (needs winrm configuration)
There are no special requirements. However, this role needs root access, so you should either run it in a playbook with a global become: yes setting or call the role in your playbook like this:
- hosts: centos
become_method: sudo
roles:
- role: graycatya.ansibles_spacevim
become: yes
Role Variables
Here are the available variables, along with their default values (see defaults/main.yml):
For Debian & Ubuntu
apt_python_version: "3"
apt_lua_version: "5.3"
apt_packages:
- wget
- curl
- cmake
- fontconfig
- git
- lua{{ apt_lua_version }}*
- ruby
- libncurses5-dev
- libgnome2-dev
- libgnomeui-dev
- libgtk2.0-dev
- libatk1.0-dev
- libbonoboui2-dev
- libcairo2-dev
- libx11-dev
- libxpm-dev
- libxt-dev
- ruby-dev
- ttf-mscorefonts-installer
- ctags
- clang
- nodejs
- net-tools
- python3-pip
- python-pip
- python{{ apt_python_version }}
- python{{ apt_python_version }}-dev
- python{{ apt_python_version }}-doc
- python
- python-dev
- python-doc
- python-apt
- python3-apt
For CentOS 7 & RedHat
yum_packages:
- gcc
- gcc-c++
- libXt*
- mkfontscale
- fontconfig
- ncurses-devel
- git
- make
- cmake
- centos-release-scl
- ruby
- ruby-devel
- lua
- lua-devel
- luajit
- luajit-devel
- ctags
- python
- python-devel
- python3
- python3-devel
- tcl-devel
- perl
- perl-devel
- perl-ExtUtils-ParseXS
- perl-ExtUtils-XSpp
- perl-ExtUtils-CBuilder
- perl-ExtUtils-Embed
- clang*
For CentOS 8 & RedHat
dnf_packages:
- gcc
- gcc-c++
- libXt*
- mkfontscale
- fontconfig
- ncurses-devel
- git
- make
- cmake
- ruby
- ruby-devel
- lua
- lua-libs
- ctags
- python2
- python2-devel
- python3
- python36-devel
- tcl-devel
- perl
- perl-devel
- perl-ExtUtils-ParseXS
- perl-ExtUtils-CBuilder
- perl-ExtUtils-Embed
- clang*
Python Modules Needed
pip3_packages:
- jedi
- yapf
- isort
- flake8
- neovim
- pynvim
Dependencies
None.
Example Playbook
- hosts: server
become: yes
become_method: sudo
License
None.
Author Information
This role was created in 2019 by graycatya.
