Skip to content
Snippets Groups Projects
Select Git revision
  • 09eef0094810a4452ea1aab1edbb05df24b10c0b
  • main default protected
2 results

LICENSE

Blame
  • This project is licensed under the GNU General Public License v3.0 or later. Learn more
    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