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

improve handling for ubuntu

This commit is contained in:
Lilian Roller 2019-04-29 16:21:30 +02:00
parent ab15038db8
commit ae55b6f7f9
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B

View file

@ -20,7 +20,7 @@
when: when:
ansible_distribution == 'Debian' ansible_distribution == 'Debian'
- name: Install common base packages [Fedora] - name: Install common base packages [all]
become: yes become: yes
package: package:
name: "{{ base_packages }}" name: "{{ base_packages }}"
@ -34,7 +34,7 @@
name: "{{ fedora_packages }}" name: "{{ fedora_packages }}"
state: latest state: latest
when: when:
ansible_distribution != 'Debian' ansible_distribution == 'Fedora'
- name: Install some common Debian specific packages - name: Install some common Debian specific packages
become: yes become: yes