diff --git a/playbooks/fedora.yml b/playbooks/fedora.yml index ea5c6b6..b9f816c 100644 --- a/playbooks/fedora.yml +++ b/playbooks/fedora.yml @@ -2,7 +2,9 @@ - name: Fedora bootstrap hosts: all roles: - - set_dnf + - role: set_dnf + become: yes + become_method: sudo - flatpaks - ssh - shell diff --git a/playbooks/roles/set_dnf/tasks/main.yml b/playbooks/roles/set_dnf/tasks/main.yml index 20ab521..7eddbbf 100644 --- a/playbooks/roles/set_dnf/tasks/main.yml +++ b/playbooks/roles/set_dnf/tasks/main.yml @@ -14,4 +14,4 @@ - name: Install flameshot for screenshots dnf: name: flameshot - state: present \ No newline at end of file + state: present