Skip to content
Snippets Groups Projects
Select Git revision
  • 7afcb133d6c8496f481dbcfb0649f910c0aed906
  • master default protected
  • archivematica_support
  • extended_maintenance
  • fix_autocomplete
5 results

prepare.yml

Blame
  • prepare.yml 897 B
    ---
    - name: Prepare
      hosts: "*"
      tasks:
        - name: install GPG
          ansible.builtin.apt:
            name: "gnupg"
            state: latest
            update_cache: true
          become: true
        - name: add non-free repos to be able to install libmath-random-perl from Debian public repo
          ansible.builtin.replace:
            path: "/etc/apt/sources.list"
            regexp: '^(.*) main$'
            replace: '\g<1> main non-free'
          become: true
        - name: add GPG key for SLUB Debian repository
          ansible.builtin.apt_key:
            url: "https://sdvdebianrepo.slub-dresden.de/deb-repository/pub.gpg.key"
            state: present
          become: true
        - name: add repo URL to sources.list
          ansible.builtin.apt_repository:
            repo: "deb https://sdvdebianrepo.slub-dresden.de/deb-repository bullseye main"
            state: present
            update_cache: true
            mode: "0644"
          become: true