openstack-afs.yaml : correct indentation

This was found by the linter

Change-Id: I91f8b9264b17a27855942c5e375d81ce0b1c99d9
This commit is contained in:
Ian Wienand 2023-01-11 08:56:41 +11:00
parent 85075acc67
commit 92d9cd7d8d
No known key found for this signature in database
1 changed files with 11 additions and 12 deletions

View File

@ -1,17 +1,16 @@
- hosts: localhost - hosts: localhost
pre_tasks: pre_tasks:
# Note that "{{ afs.path }}" is a valid afs_target and thus
# Note that "{{ afs.path }}" is a valid afs_target and thus # afs_subpath can be empty, we need this for openstack-manuals
# afs_subpath can be empty, we need this for openstack-manuals # publishing.
# publishing. - name: Set default afs_subpath
- name: Set default afs_subpath set_fact:
set_fact: our_afs_subpath: "/{{ zuul.project.short_name }}"
our_afs_subpath: "/{{ zuul.project.short_name }}" when: afs_subpath is not defined
when: afs_subpath is not defined - name: Use defined afs_subpath
- name: Use defined afs_subpath set_fact:
set_fact: our_afs_subpath: "{{ afs_subpath }}"
our_afs_subpath: "{{ afs_subpath }}" when: afs_subpath is defined
when: afs_subpath is defined
roles: roles:
- role: create-afs-token - role: create-afs-token