From 8cdf719bb3f97779af56db4167718dde76d1d8e9 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 28 Jul 2022 11:11:02 +1000 Subject: [PATCH] linter: update some YAML whitespace issues These were found by a later version of ansible-lint. This should have no effect, but just fixes some inconsistent whitespace issues. Change-Id: I7bcde4942c97cfe743e8aba74833aeb5844c8290 --- playbooks/javascript/publish.yaml | 1 - playbooks/javascript/release.yaml | 6 +++--- playbooks/pti-python-tarball/pre.yaml | 1 - roles/configure-git/defaults/main.yaml | 2 +- roles/configure-git/tasks/main.yaml | 2 +- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/playbooks/javascript/publish.yaml b/playbooks/javascript/publish.yaml index d329bc3a3a..7a1b0c3891 100644 --- a/playbooks/javascript/publish.yaml +++ b/playbooks/javascript/publish.yaml @@ -2,4 +2,3 @@ roles: - fetch-javascript-output - fetch-javascript-content-tarball - diff --git a/playbooks/javascript/release.yaml b/playbooks/javascript/release.yaml index 291be43ba5..d1a616ef8c 100644 --- a/playbooks/javascript/release.yaml +++ b/playbooks/javascript/release.yaml @@ -11,7 +11,7 @@ # Now that we're running on localhost, we need to reach in to the remote # hosts vars to get the value. - block: - - name: Upload to npm - include_role: - name: upload-npm + - name: Upload to npm + include_role: + name: upload-npm delegate_to: localhost diff --git a/playbooks/pti-python-tarball/pre.yaml b/playbooks/pti-python-tarball/pre.yaml index 21b5e87e79..5a3f34dec7 100644 --- a/playbooks/pti-python-tarball/pre.yaml +++ b/playbooks/pti-python-tarball/pre.yaml @@ -3,4 +3,3 @@ # We use ensure-pip to make sure the wheel module is installed - ensure-pip - revoke-sudo - diff --git a/roles/configure-git/defaults/main.yaml b/roles/configure-git/defaults/main.yaml index 43d7614784..25d828dd65 100644 --- a/roles/configure-git/defaults/main.yaml +++ b/roles/configure-git/defaults/main.yaml @@ -1,3 +1,3 @@ --- git_config_scope: global -git_config: {} \ No newline at end of file +git_config: {} diff --git a/roles/configure-git/tasks/main.yaml b/roles/configure-git/tasks/main.yaml index 88d183ac8f..694f0b5223 100644 --- a/roles/configure-git/tasks/main.yaml +++ b/roles/configure-git/tasks/main.yaml @@ -4,4 +4,4 @@ name: "{{ item.key }}" scope: "{{ git_config_scope }}" value: "{{ item.value }}" - with_dict: "{{ git_config }}" \ No newline at end of file + with_dict: "{{ git_config }}"