copr: skip the base's rootpw settings

This commit is contained in:
Pavel Raiskup 2024-11-29 18:51:16 +01:00
parent 7f612b75da
commit 501b5ce8de
2 changed files with 3 additions and 3 deletions

View file

@ -45,7 +45,9 @@
tags:
- rootpw
- base
when: not inventory_hostname.startswith(('buildvm-','buildhw-','bkernel','koji','compose'))
when:
- not inventory_hostname.startswith(('buildvm-','buildhw-','bkernel','koji','compose'))
- not inventory_hostname.startswith('copr')
- name: add ansible root key
authorized_key: user=root key="{{ item }}"