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