-
Notifications
You must be signed in to change notification settings - Fork 4
How do I use Harvest's credentials file with Ansible?
Chris Grindstaff edited this page Jun 22, 2023
·
1 revision
If you want to use Harvest's credentials file with the Ansible workflow you need to make sure the container can see the file.
By default, the Ansible workflow mounts a single volume, like so:
volumes:
- ./harvest/:/etc/harvest/
To make you credentials.yml
file visible inside the container:
- Move
credentials.yml
into the$INSTALL_DIR/harvest
directory - Change the
credentials_file
section in yourharvest.yml
to point to the location from step 1 like so:
credentials_file: /etc/harvest/credentials.yml
- After making these changes run
ansible-playbook manage_harvest.yml --tags upgrade
so the poller restarts and sees your changes