From 1a8164b5ac658d1d4e6ff260c3c4e72f3f410ef9 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 21 Mar 2021 02:29:29 +0100 Subject: [PATCH] resolve linting error --- defaults/main.yml | 2 -- tasks/gitea_secrets.yml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 1ef001b..cca4933 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -64,8 +64,6 @@ gitea_ssh_domain: localhost gitea_start_ssh: true gitea_ssh_port: 2222 - - gitea_force_private: false gitea_mailer_enabled: false diff --git a/tasks/gitea_secrets.yml b/tasks/gitea_secrets.yml index 07ffa84..e9d909e 100644 --- a/tasks/gitea_secrets.yml +++ b/tasks/gitea_secrets.yml @@ -10,7 +10,7 @@ become: true slurp: src: '/etc/gitea/gitea_secret_key' - register: remote_secret_key: + register: remote_secret_key when: gitea_secret_key | length == 0 - name: set fact gitea_secret_key