From 0e963e3dbb272a85d2143b9f175c25f9f109a594 Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Thu, 12 May 2022 12:48:37 +0100 Subject: [PATCH] ansible: update create-unofficial-builds playbook (#2943) Remove comment about creating local host_vars as the required `github_deploy_webhook_secret` secret has been added to the secrets repository. Refs: https://github.com/nodejs/unofficial-builds/issues/35#issuecomment-1122259809 --- ansible/playbooks/create-unofficial-builds.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ansible/playbooks/create-unofficial-builds.yml b/ansible/playbooks/create-unofficial-builds.yml index 5e9309883..bcc6d97df 100644 --- a/ansible/playbooks/create-unofficial-builds.yml +++ b/ansible/playbooks/create-unofficial-builds.yml @@ -3,11 +3,6 @@ # # sets up the host that runs unofficial-builds.nodejs.org # -# To properly run this, create a file -# ansible/host_vars/infra-digitalocean-ubuntu1804-x64-2 with the line: -# github_deploy_webhook_secret: xyzabc -# where 'xyzabc' is the github deployment hook secret from the unofficial-builds -# repository - hosts: infra-digitalocean-ubuntu1804-x64-2 roles: @@ -18,6 +13,7 @@ - { role: nginx, sites: [ 'unofficial-builds.nodejs.org' ] } - unofficial-builds pre_tasks: + # `github_deploy_webhook_secret` should be set in the inventory in secrets. - name: check if secrets are properly set fail: failed_when: not {{ secret }}