File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,13 @@ Create an `upcloud.yml` file with these contents:
3939plugin : upcloud.cloud.servers
4040` ` `
4141
42- Set environment variables for API authentication :
42+ Configure API authentication by using ` upctl account login` command or set credentials with environment variables :
4343
4444` ` ` bash
45+ # Use API token...
46+ export UPCLOUD_TOKEN="ucat_..."
47+
48+ # ...or username and password
4549export UPCLOUD_USERNAME="upcloud-api-access-enabled-user"
4650export UPCLOUD_PASSWORD="verysecretpassword"
4751` ` `
@@ -128,6 +132,5 @@ $ ansible-test units -v --color --docker --coverage
128132A new version can be built and tested locally with the `ansible-galaxy` tool that is packaged with Ansible.
129133
130134` ` ` bash
131- ansible-galaxy collection build
132- ansible-galaxy collection install community-upcloud-<VERSION>.tar.gz
135+ ansible-galaxy collection install --force .
133136` ` `
You can’t perform that action at this time.
0 commit comments