Skip to content

Commit

Permalink
ansible: update create-unofficial-builds playbook (#2943)
Browse files Browse the repository at this point in the history
Remove comment about creating local host_vars as the required
`github_deploy_webhook_secret` secret has been added to the
secrets repository.

Refs: nodejs/unofficial-builds#35 (comment)
  • Loading branch information
richardlau authored May 12, 2022
1 parent 283fd99 commit 0e963e3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ansible/playbooks/create-unofficial-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down

0 comments on commit 0e963e3

Please sign in to comment.