1
0
Fork 0
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:
Lilian Roller 2019-03-08 15:16:42 +01:00
parent e2dc6e5c56
commit c6dc17d10e
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B

View file

@ -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