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

Merge pull request #1 from ffbsee/maxbachmann-patch-1

Update main.yml
This commit is contained in:
L3D 2019-07-12 13:52:35 +02:00 committed by GitHub
commit af8c485f9f
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