install-software-repo.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. ---
  2. - hosts: pc9
  3. vars:
  4. release: focal
  5. winetricks_patch: /usr/bin
  6. prefix_dir: /usr/prefixes
  7. prefix_path: /usr/prefixes/msapps
  8. user_permission: student
  9. officepath: /home/vidikon/ANSIBLE/Office2013.tar.gz
  10. become: true
  11. gather_facts: no
  12. tasks:
  13. # - name: add ppa libreoffice
  14. # ansible.builtin.apt_repository:
  15. # repo: ppa:libreoffice/ppa
  16. # codename: "{{ release }}"
  17. # state: absent
  18. - name: add ppa gimp
  19. ansible.builtin.apt_repository:
  20. repo: ppa:ubuntuhandbook1/gimp
  21. codename: "{{ release }}"
  22. # state: absent
  23. # - name: dpkg --configure -a
  24. # shell:
  25. # cmd: dpkg --configure -a
  26. - name: install software
  27. ansible.builtin.apt:
  28. pkg:
  29. - libreoffice
  30. - gimp
  31. - name: install software
  32. ansible.builtin.apt:
  33. pkg:
  34. - libreoffice-grammarcheck-ru
  35. - libreoffice-help-ru
  36. - libreoffice-l10n-ru
  37. - libreoffice-lightproof-ru-ru