mirror of
https://github.com/roles-ansible/ansible_role_packages.git
synced 2024-08-16 10:19:51 +02:00
become:true
This commit is contained in:
parent
e2dc6e5c56
commit
c6dc17d10e
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
- ansible_distribution == 'Debian'
|
||||
|
||||
- name: Install common base packages [Debian]
|
||||
become: yes
|
||||
apt:
|
||||
package: "{{ debian_packages }}"
|
||||
state: latest
|
||||
|
@ -20,6 +21,7 @@
|
|||
ansible_distribution == 'Debian'
|
||||
|
||||
- name: Install common base packages [Fedora]
|
||||
become: yes
|
||||
package:
|
||||
name: "{{ base_packages }}"
|
||||
state: latest
|
||||
|
@ -27,6 +29,7 @@
|
|||
ansible_distribution != 'Debian'
|
||||
|
||||
- name: Install common base packages [Fedora]
|
||||
become: yes
|
||||
package:
|
||||
name: "{{ fedora_packages }}"
|
||||
state: latest
|
||||
|
@ -34,6 +37,7 @@
|
|||
ansible_distribution != 'Debian'
|
||||
|
||||
- name: Install some common Debian specific packages
|
||||
become: yes
|
||||
apt:
|
||||
package:
|
||||
- debian-goodies
|
||||
|
@ -46,6 +50,7 @@
|
|||
|
||||
|
||||
- name: Remove rpcbind, nfs-common
|
||||
become: yes
|
||||
package:
|
||||
name:
|
||||
- rpcbind
|
||||
|
|
Loading…
Reference in a new issue