1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_packages.git synced 2024-08-16 10:19:51 +02:00

We use vim

This commit is contained in:
L3D 2019-07-15 23:07:17 +02:00
parent e011160e49
commit c40f2194b8
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 24 additions and 2 deletions

View file

@ -1,6 +1,18 @@
--- ---
# if you are interested in adding extra packages... do it here!
packages_extra: [] packages_extra: []
# - foo # - foo
# - bar # - bar
upgrade_packages_to_latest_version: false
# do we want the latest package version or just upgrade manually?
upgrade_packages_to_latest_version: true
# add eth zurich apt source
add_ethz: true
# we use vim!
editor_is_vim: true
# version management
submodules_versioncheck: true submodules_versioncheck: true

7
tasks/editor.yml Normal file
View file

@ -0,0 +1,7 @@
---
- name: vim is our editor
become: true
alternatives:
name: editor
path: /usr/bin/vim.basic
when: editor_is_vim | bool

View file

@ -2,6 +2,9 @@
- include_tasks: versioncheck.yml - include_tasks: versioncheck.yml
when: submodules_versioncheck | bool when: submodules_versioncheck | bool
- include_tasks: editor.yml
when: editor_is_vim | bool
- name: Install common base packages [Debian] - name: Install common base packages [Debian]
become: yes become: yes
apt: apt: