From 7a7c1f8b0635924e9e80b2c4e630b37f1b0991a5 Mon Sep 17 00:00:00 2001 From: Simon Spannagel Date: Wed, 31 Mar 2021 06:58:09 +0200 Subject: [PATCH] Fix linter suggestions --- .github/workflows/release.yml | 6 +++++- tasks/install-deploy-hook.yml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e855b0..19152ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,4 +35,8 @@ jobs: run: pip3 install ansible-base - name: Trigger a new import on Galaxy. - run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2) + run: >- + ansible-galaxy role import + --api-key ${{ secrets.GALAXY_API_KEY }} + $(echo ${{ github.repository }} | cut -d/ -f1) + $(echo ${{ github.repository }} | cut -d/ -f2) diff --git a/tasks/install-deploy-hook.yml b/tasks/install-deploy-hook.yml index 5bd8a01..e50375c 100644 --- a/tasks/install-deploy-hook.yml +++ b/tasks/install-deploy-hook.yml @@ -1,3 +1,4 @@ +--- - name: Ensure deploy hook directory exists file: path: /etc/letsencrypt/renewal-hooks/deploy @@ -11,4 +12,3 @@ dest: /etc/letsencrypt/renewal-hooks/deploy/ansible.sh mode: u+rwx when: certbot_deployhook is defined -