From 4416aee8bfd690d39d300e61331cfb0fc0cc3297 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Mon, 6 Jan 2025 15:31:32 -0800 Subject: [PATCH] ansible/examples/builder.yml: "vars" should be a dict 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 --- ansible/examples/builder.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/ansible/examples/builder.yml b/ansible/examples/builder.yml index 4e8abaa7..6c72ec5f 100644 --- a/ansible/examples/builder.yml +++ b/ansible/examples/builder.yml @@ -10,19 +10,19 @@ 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: -- 2.39.5