Activate distgit/pagure in prod and on pkgs01.stg (so not pkgs02.stg)

This commit is contained in:
Pierre-Yves Chibon
2017-08-04 09:50:02 +02:00
parent 16285e52e4
commit a4a455ff6f

View File

@@ -39,7 +39,8 @@
- role: distgit
tags: distgit
- { role: hosts, when: env == "staging" }
- { role: distgit/pagure, when: env == "staging" and inventory_hostname.startswith('pkgs01') }
- { role: distgit/pagure,
when: env != "staging" or inventory_hostname.startswith('pkgs01') }
tasks:
- name: Copy keytab