]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible/examples/builder.yml: "vars" should be a dict 2312/head
authorDan Mick <dan.mick@redhat.com>
Mon, 6 Jan 2025 23:31:32 +0000 (15:31 -0800)
committerDan Mick <dan.mick@redhat.com>
Mon, 6 Jan 2025 23:34:03 +0000 (15:34 -0800)
it always should have been, but this syntax is now an error.  Make it
a nested dict (rather than a list of dicts).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
ansible/examples/builder.yml

index 4e8abaa7726d996dfa42a61712e68893f29bcef9..6c72ec5f8da39f00fe03242bbf4cf1053013ff98 100644 (file)
   become: true
   user: ubuntu # This should be overridden on the CLI (e.g., -e user=centos).  It doesn't matter on a mita/prado builder because the playbook is run locally by root.
   vars:
-    libvirt: false # Should vagrant be installed?
-    permanent: false # Is this a permanent builder?  Since the ephemeral (non-permanent) tasks get run more often, we'll default to false.
-    jenkins_user: 'jenkins-build'
-    api_user: 'ceph-jenkins'
-    api_uri: 'https://jenkins.ceph.com'
-    jenkins_credentials_uuid: 'jenkins-build'
-    nodename: '{{ nodename }}'
-    label: "{{ jenkins_labels[inventory_hostname] }}"
-    grant_sudo: true
-    osc_user: 'username'
-    osc_pass: 'password'
-    container_mirror: 'docker-mirror.front.sepia.ceph.com:5000'
-    secrets_path: "{{ lookup('env', 'ANSIBLE_SECRETS_PATH') | default('/etc/ansible/secrets', true) }}"
+    libvirt: false # Should vagrant be installed?
+    permanent: false # Is this a permanent builder?  Since the ephemeral (non-permanent) tasks get run more often, we'll default to false.
+    jenkins_user: 'jenkins-build'
+    api_user: 'ceph-jenkins'
+    api_uri: 'https://jenkins.ceph.com'
+    jenkins_credentials_uuid: 'jenkins-build'
+    nodename: '{{ nodename }}'
+    label: "{{ jenkins_labels[inventory_hostname] }}"
+    grant_sudo: true
+    osc_user: 'username'
+    osc_pass: 'password'
+    container_mirror: 'docker-mirror.front.sepia.ceph.com:5000'
+    secrets_path: "{{ lookup('env', 'ANSIBLE_SECRETS_PATH') | default('/etc/ansible/secrets', true) }}"
 
 
   tasks: