diff --git a/defaults/main.yml b/defaults/main.yml index ba856b3..7b5dd6e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,6 +1,18 @@ --- +# if you are interested in adding extra packages... do it here! packages_extra: [] # - foo # - 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 diff --git a/tasks/editor.yml b/tasks/editor.yml new file mode 100644 index 0000000..8cafd2b --- /dev/null +++ b/tasks/editor.yml @@ -0,0 +1,7 @@ +--- +- name: vim is our editor + become: true + alternatives: + name: editor + path: /usr/bin/vim.basic + when: editor_is_vim | bool diff --git a/tasks/main.yml b/tasks/main.yml index de226cb..fdc1134 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,6 +1,9 @@ --- - 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] become: yes