mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
copr: skip the base's rootpw settings
This commit is contained in:
@@ -14,5 +14,3 @@ additional_known_hosts_cleanup:
|
||||
- copr-be-temp.aws.fedoraproject.org
|
||||
|
||||
aws_ipv6_con: "cloud-init ens5"
|
||||
|
||||
rootpw: "{{ copr_root_passwords[deployment_type][copr_machine_type] }}"
|
||||
|
||||
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user