diff --git a/tasks/main.yml b/tasks/main.yml index 73b1751..ce74d53 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,11 +2,13 @@ - name: Launch 'apt update' ansible.builtin.apt: update_cache: yes + become: yes - name: Launch 'apt upgrade' ansible.builtin.apt: upgrade: yes - + become: yes + - name: Register this host on Ubuntu Pro (pro attach ) command: pro attach {{ ubuntu_pro_token }} become: yes