--- - name: "deploy workstation" hosts: localhost connection: local become: true become_method: sudo vars_files: - vars.yml roles: - cups - firefox - git - google-chrome - kerberos - ldap - mutt - spotify - thinlinc - thunderbird tasks: - name: "remove unneeded packages" package: name: "{{ item }}" state: absent with_items: - abrt - mlocate - name: "hide grub menu during boot" lineinfile: path: /etc/default/grub line: "{{ item }}" with_items: - GRUB_HIDDEN_TIMEOUT=1 - GRUB_HIDDEN_TIMEOUT_QUIET=true - name: "remove grub default timeout" lineinfile: path: /etc/default/grub regexp: "^GRUB_TIMEOUT=" state: absent