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

Update main.yml

This commit is contained in:
maxbachmann 2019-07-12 13:06:15 +02:00 committed by GitHub
parent 33093da640
commit 439615819f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,6 @@
- include_tasks: versioncheck.yml - include_tasks: versioncheck.yml
when: submodules_versioncheck|bool when: submodules_versioncheck|bool
- name: Install common base packages [Debian]
become: yes
apt:
package: "{{ base_packages }}"
state: present
update_cache: yes
cache_valid_time: 43200
when:
- ansible_distribution == 'Debian'
- name: Install common base packages [Debian] - name: Install common base packages [Debian]
become: yes become: yes
apt: apt:
@ -27,8 +17,6 @@
package: package:
name: "{{ base_packages }}" name: "{{ base_packages }}"
state: present state: present
when:
ansible_distribution != 'Debian'
- name: Install common base packages [Fedora] - name: Install common base packages [Fedora]
become: yes become: yes