From 4bb84c41e8fa3ad9017fb07d145030724715800d Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Tue, 10 May 2022 12:42:45 +0100 Subject: [PATCH] ansible: update create-unofficial-builds playbook Remove comment about creating local host_vars as the required `github_deploy_webhook_secret` secret has been added to the secrets repository. --- 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 }}