mirror of
https://github.com/roles-ansible/ansible_role_base.git
synced 2024-08-16 14:29:50 +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'
|
- ansible_distribution == 'Debian'
|
||||||
|
|
||||||
- name: Install common base packages [Debian]
|
- name: Install common base packages [Debian]
|
||||||
|
become: yes
|
||||||
apt:
|
apt:
|
||||||
package: "{{ debian_packages }}"
|
package: "{{ debian_packages }}"
|
||||||
state: latest
|
state: latest
|
||||||
|
@ -20,6 +21,7 @@
|
||||||
ansible_distribution == 'Debian'
|
ansible_distribution == 'Debian'
|
||||||
|
|
||||||
- name: Install common base packages [Fedora]
|
- name: Install common base packages [Fedora]
|
||||||
|
become: yes
|
||||||
package:
|
package:
|
||||||
name: "{{ base_packages }}"
|
name: "{{ base_packages }}"
|
||||||
state: latest
|
state: latest
|
||||||
|
@ -27,6 +29,7 @@
|
||||||
ansible_distribution != 'Debian'
|
ansible_distribution != 'Debian'
|
||||||
|
|
||||||
- name: Install common base packages [Fedora]
|
- name: Install common base packages [Fedora]
|
||||||
|
become: yes
|
||||||
package:
|
package:
|
||||||
name: "{{ fedora_packages }}"
|
name: "{{ fedora_packages }}"
|
||||||
state: latest
|
state: latest
|
||||||
|
@ -34,6 +37,7 @@
|
||||||
ansible_distribution != 'Debian'
|
ansible_distribution != 'Debian'
|
||||||
|
|
||||||
- name: Install some common Debian specific packages
|
- name: Install some common Debian specific packages
|
||||||
|
become: yes
|
||||||
apt:
|
apt:
|
||||||
package:
|
package:
|
||||||
- debian-goodies
|
- debian-goodies
|
||||||
|
@ -46,6 +50,7 @@
|
||||||
|
|
||||||
|
|
||||||
- name: Remove rpcbind, nfs-common
|
- name: Remove rpcbind, nfs-common
|
||||||
|
become: yes
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- rpcbind
|
- rpcbind
|
||||||
|
|
Loading…
Reference in a new issue