copr: use fas_client role only for production

See https://pagure.io/fedora-infrastructure/issue/9737

Every other playbook except for ours checks `env` variable instead of
`devel|bool`, so I am updating it to do it the same way.
This commit is contained in:
Jakub Kadlcik 2021-03-16 23:44:40 +01:00
parent c34033124a
commit 700167c1fc

View file

@ -48,7 +48,7 @@
roles:
- base
- { role: fas_client, when: devel|bool }
- { role: fas_client, when: env != "staging" }
- { role: sudo, sudoers: "{{ private }}/files/sudo/copr-sudoers", when: devel|bool }
- copr/copr-devel-server
- copr/frontend-cloud