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:
parent
ab15038db8
commit
ae55b6f7f9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue