classroom/roles/inkscape/tasks/main_lin.yml
2025-08-15 23:04:26 +02:00

20 lines
760 B
YAML

- name: Add Inkscape repository
block:
- name: add Inkscape trunk apt key
ansible.builtin.get_url:
url: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x1F46021FF9A0C56504CE42CD06E315A37AAEF27A
dest: /etc/apt/keyrings/inkscape-trunk-ppa.asc
- name: add Inkscape trunk apt deb source
ansible.builtin.apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/inkscape-trunk-ppa.asc] https://ppa.launchpadcontent.net/reviczky/inkscape-1.4/ubuntu {{ ansible_distribution_release }} main "
state: present
# apt_repository:
# repo: ppa:inkscape.dev/stable
# state: present
# update_cache: True
# validate_certs: False
- name: Install Inkscape
apt:
name: inkscape-trunk
state: latest