diff options
-rw-r--r-- | test/integration/targets/group/tasks/tests.yml | 10 | ||||
-rw-r--r-- | test/integration/targets/setup_cron/tasks/main.yml | 11 |
2 files changed, 19 insertions, 2 deletions
diff --git a/test/integration/targets/group/tasks/tests.yml b/test/integration/targets/group/tasks/tests.yml index a724c9dfae..862407cbde 100644 --- a/test/integration/targets/group/tasks/tests.yml +++ b/test/integration/targets/group/tasks/tests.yml @@ -211,7 +211,15 @@ - user_test_local_mode - name: Ensure lgroupadd is present - Alpine - command: apk add -U libuser --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community + block: + - name: Get the latest Alpine package signing keys + command: apk add -U -l -u alpine-keys + tags: + - user_test_local_mode + - name: Install libuser - Alpine + command: apk add -U libuser --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community + tags: + - user_test_local_mode when: ansible_distribution == 'Alpine' tags: - user_test_local_mode diff --git a/test/integration/targets/setup_cron/tasks/main.yml b/test/integration/targets/setup_cron/tasks/main.yml index c5a988e0a5..b99abd6fd9 100644 --- a/test/integration/targets/setup_cron/tasks/main.yml +++ b/test/integration/targets/setup_cron/tasks/main.yml @@ -27,7 +27,16 @@ when: ansible_distribution != 'Alpine' - name: install faketime packages - Alpine - command: apk add -U {{ faketime_pkg }} --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing + # NOTE: The `faketime` package is currently only available in the + # NOTE: `edge` branch. + # FIXME: If it ever becomes available in the `main` repository for + # FIXME: currently tested Alpine versions, the `--repository=...` + # FIXME: option can be dropped. + block: + - name: Get the latest Alpine package signing keys + command: apk add -U -l -u alpine-keys + - name: Install {{ faketime_pkg }} - Alpine + command: apk add -U {{ faketime_pkg }} --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing when: ansible_distribution == 'Alpine' - name: Find libfaketime path |