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:
parent
e011160e49
commit
c40f2194b8
3 changed files with 24 additions and 2 deletions
|
@ -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
7
tasks/editor.yml
Normal 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
|
|
@ -1,6 +1,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
|
||||||
|
|
Loading…
Reference in a new issue