From c6dc17d10edc0e330f76ed222d6b245049e67476 Mon Sep 17 00:00:00 2001 From: Lilian Roller Date: Fri, 8 Mar 2019 15:16:42 +0100 Subject: [PATCH] become:true --- tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index b47f39e..637172a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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