File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,14 @@ Before you can run our Ansible playbooks, you need to meet the following
37
37
prerequisites:
38
38
39
39
* Create a DigitalOcean API token, and pass it to the inventory generator by
40
- setting the ` DO_API_TOKEN ` environment variable.
40
+ setting the ` DO_API_TOKEN ` environment variable. The API token must have
41
+ access to the following scopes:
42
+ - Read: droplet, monitoring, project, ssh_key
43
+ - Create: droplet
44
+ - Update: droplet, monitoring, project
41
45
* If you are creating a new droplet, and want to configure DNS as well, then
42
- create a CloudFlare API token, and pass it to the Ansible playbook by setting
43
- the ` CLOUDFLARE_TOKEN ` environment variable.
46
+ create a CloudFlare API token with DNS edit permissions , and pass it to the
47
+ Ansible playbook by setting the ` CLOUDFLARE_TOKEN ` environment variable.
44
48
* Set the vault decryption password of the Ansible vaulted file with our
45
49
secrets. This may be done by setting the ` ANSIBLE_VAULT_PASSWORD_FILE `
46
50
environment variable to point to a file containing the password.
You can’t perform that action at this time.
0 commit comments