graycatya.ansibles_spacevim

Rôle Ansible : SpaceVim

Statut de construction

Installe et configure SpaceVim sur un serveur RHEL/CentOS(7,8) ou Debian/Ubuntu.

Tests effectués sur :

  • CentOS7
  • CentOS8
  • Ubuntu18.04
  • Ubuntu19.04

Exigences

  1. ubuntu19.04 Configuration requise :
ansible_python_interpreter=/usr/bin/python3
  1. Windows (configurer winrm)

Rispose_winrm

Pas d'exigences spéciales ; notez que ce rôle nécessite un accès root, donc exécutez-le soit dans un playbook avec un become: yes global, soit invoquez le rôle dans votre playbook comme ceci :

- hôtes : centos
  become_method: sudo
  rôles :
    - rôle : graycatya.ansibles_spacevim
      become : oui

Variables du rôle

Les variables disponibles sont listées ci-dessous, avec des valeurs par défaut (voir defaults/main.yml) (chaque système doit télécharger des paquets) :

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

CentOS7 & 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*

CentOS8 & 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*

Modules python requis

pip3_packages:
- jedi 
- yapf 
- isort 
- flake8 
- neovim 
- pynvim

Dépendances

Aucune.

Exemple de Playbook

- hôtes: serveur
  become: oui
  become_method: sudo

Licence

Aucune.

Informations sur l'auteur

Ce rôle a été créé en 2019 par graycatya.

À propos du projet

SpaceVim for RHEL/CentOS and Debian/Ubuntu.

Installer
ansible-galaxy install graycatya.ansibles_spacevim
Licence
Unknown
Téléchargements
95
Propriétaire