install-software.yml 688 B

123456789101112131415161718192021222324252627282930313233
  1. ---
  2. - hosts: local
  3. vars:
  4. release: jammy
  5. tasks:
  6. - name: wine (add architecture)
  7. shell:
  8. cmd: dpkg --add-architecture i386
  9. - name: install software-properties-common deb
  10. ansible.builtin.apt:
  11. pkg:
  12. - software-properties-common
  13. - gtk2-engines-pixbuf
  14. - gtk2-engines-murrine
  15. - name: add Wine to sources.list
  16. ansible.builtin.apt_repository:
  17. repo: deb http://dl.winehq.org/wine-builds/ubuntu/ {{ release }} main
  18. state: present
  19. filename: wine-stable.list
  20. - name: install Wine deb
  21. ansible.builtin.apt:
  22. pkg:
  23. - wine
  24. update_cache: yes