From ec708a876d2466a231852324b9d518ad1640dd7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Fri, 8 Mar 2024 08:08:43 +0100 Subject: [PATCH] fix: I said FIX indentationgit add molecule/resources/playbooks/prepare.yml ! --- molecule/resources/playbooks/prepare.yml | 68 ++++++++++++------------ 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/molecule/resources/playbooks/prepare.yml b/molecule/resources/playbooks/prepare.yml index 08af983..c89834f 100644 --- a/molecule/resources/playbooks/prepare.yml +++ b/molecule/resources/playbooks/prepare.yml @@ -5,40 +5,40 @@ - name: configure additional package repositories for Debian when: ansible_os_family == "Debian" block: - - name: install GPG - ansible.builtin.apt: - name: "gnupg" - state: latest - update_cache: true - become: true - - name: modify package repo config - ansible.builtin.deb822_repository: - architectures: "amd64" - components: "{{ item.components | default('main') }}" - enabled: "{{ item.enabled | default(true) }}" - name: "{{ item.name }}" - pdiffs: true - signed_by: "{{ item.signed_by }}" - suites: "{{ item.suites | default(ansible_lsb.codename) }}" - uris: "{{ item.uris }}" - loop: - # PC @steidl with local Debian repo for SubAp tests - - name: "bdv141" - signed_by: "http://bdv141.slub-dresden.de/deb-repository/pub.gpg.key" - suites: "lza-testing" - uris: "http://bdv141.slub-dresden.de/deb-repository" - # on-prem Debian Repo - - name: "slub" - signed_by: "https://sdvdebianrepo.slub-dresden.de/deb-repository/pub.gpg.key" - uris: "https://sdvdebianrepo.slub-dresden.de/deb-repository" - # add non-free repos to be able to install libmath-random-perl from official Debian public repo - - name: "debian" - components: ["main", "non-free"] - signed_by: "/usr/share/keyrings/debian-archive-keyring.gpg" - suites: ["{{ ansible_lsb.codename }}", "{{ ansible_lsb.codename }}-updates"] - uris: "http://deb.debian.org/debian" - notify: update package cache - become: true + - name: install GPG + ansible.builtin.apt: + name: "gnupg" + state: latest + update_cache: true + become: true + - name: modify package repo config + ansible.builtin.deb822_repository: + architectures: "amd64" + components: "{{ item.components | default('main') }}" + enabled: "{{ item.enabled | default(true) }}" + name: "{{ item.name }}" + pdiffs: true + signed_by: "{{ item.signed_by }}" + suites: "{{ item.suites | default(ansible_lsb.codename) }}" + uris: "{{ item.uris }}" + loop: + # PC @steidl with local Debian repo for SubAp tests + - name: "bdv141" + signed_by: "http://bdv141.slub-dresden.de/deb-repository/pub.gpg.key" + suites: "lza-testing" + uris: "http://bdv141.slub-dresden.de/deb-repository" + # on-prem Debian Repo + - name: "slub" + signed_by: "https://sdvdebianrepo.slub-dresden.de/deb-repository/pub.gpg.key" + uris: "https://sdvdebianrepo.slub-dresden.de/deb-repository" + # add non-free repos to be able to install libmath-random-perl from official Debian public repo + - name: "debian" + components: ["main", "non-free"] + signed_by: "/usr/share/keyrings/debian-archive-keyring.gpg" + suites: ["{{ ansible_lsb.codename }}", "{{ ansible_lsb.codename }}-updates"] + uris: "http://deb.debian.org/debian" + notify: update package cache + become: true - name: configure additional package repositories for RedHat when: ansible_os_family == "RedHat" -- GitLab