Questions about playbooks

Miroslav Suchy msuchy at redhat.com
Tue Sep 24 11:07:21 UTC 2013


Hi,
I have two questions about playbooks:

Copr-fe-dev currently runs on EL6, if I want to change it to F19 - is 
this the way I should change the playbook?

diff --git a/playbooks/hosts/copr-fe-dev.cloud.fedoraproject.org.yml 
b/playbooks/hosts/copr-fe-dev.cloud.fedoraproject.org.yml
index 7b07582..ec7f5f1 100644
--- a/playbooks/hosts/copr-fe-dev.cloud.fedoraproject.org.yml
+++ b/playbooks/hosts/copr-fe-dev.cloud.fedoraproject.org.yml
@@ -6,6 +6,8 @@
    vars_files:
     - /srv/web/infra/ansible/vars/global.yml
     - ${private}/vars.yml
+  vars:
+  - image: $f19_qcow_id

    tasks:
    - include: $tasks/persistent_cloud.yml

And what is ${private}/vars.yml? Where is vars.yml located?

Mirek


More information about the infrastructure mailing list