From 92d9cd7d8d994c42d880f4b735fc8119ceec8888 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 11 Jan 2023 08:56:41 +1100 Subject: [PATCH] openstack-afs.yaml : correct indentation This was found by the linter Change-Id: I91f8b9264b17a27855942c5e375d81ce0b1c99d9 --- playbooks/publish/openstack-afs.yaml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/playbooks/publish/openstack-afs.yaml b/playbooks/publish/openstack-afs.yaml index c31cf1d892..399f8012d1 100644 --- a/playbooks/publish/openstack-afs.yaml +++ b/playbooks/publish/openstack-afs.yaml @@ -1,17 +1,16 @@ - hosts: localhost pre_tasks: - - # Note that "{{ afs.path }}" is a valid afs_target and thus - # afs_subpath can be empty, we need this for openstack-manuals - # publishing. - - name: Set default afs_subpath - set_fact: - our_afs_subpath: "/{{ zuul.project.short_name }}" - when: afs_subpath is not defined - - name: Use defined afs_subpath - set_fact: - our_afs_subpath: "{{ afs_subpath }}" - when: afs_subpath is defined + # Note that "{{ afs.path }}" is a valid afs_target and thus + # afs_subpath can be empty, we need this for openstack-manuals + # publishing. + - name: Set default afs_subpath + set_fact: + our_afs_subpath: "/{{ zuul.project.short_name }}" + when: afs_subpath is not defined + - name: Use defined afs_subpath + set_fact: + our_afs_subpath: "{{ afs_subpath }}" + when: afs_subpath is defined roles: - role: create-afs-token