1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_base.git synced 2024-08-16 14:29:50 +02:00
ansible_role_base/tasks/main.yml

26 lines
594 B
YAML
Raw Normal View History

2018-11-12 20:45:12 +01:00
---
2019-07-16 16:53:03 +02:00
- include_tasks: os_info.yml
when: print_os_vars | bool
2019-05-22 10:57:06 +02:00
- include_tasks: versioncheck.yml
2019-07-15 23:07:17 +02:00
when: submodules_versioncheck | bool
2019-07-15 23:09:48 +02:00
- include_tasks: sources.yml
2020-08-12 17:20:30 +02:00
when:
- base__add_ethz | bool
2020-08-28 10:41:48 +02:00
- ansible_architecture == 'x86_64'
2020-08-28 14:33:27 +02:00
- ansible_distribution == 'Debian' and ansible_distribution_version | float >= 8
2020-08-28 13:32:16 +02:00
- include_tasks: packages.yml
2020-08-28 14:01:22 +02:00
- name: Upgrade all packages to latest
become: true
package:
name: "*"
state: "{{ base__package_state }}"
when:
- base__upgrade_packages_to_latest_version|bool
2019-07-16 16:26:04 +02:00
- include_tasks: editor.yml
when: editor_is_vim | bool