Skip to content

Commit

Permalink
fix(agent): Install agent before running update
Browse files Browse the repository at this point in the history
This is so requirements are updated and prevent import errs
  • Loading branch information
balamurali27 committed Jan 21, 2025
1 parent 40d35a1 commit b8d63db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions press/playbooks/roles/update_agent/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
args:
chdir: /home/frappe/agent/repo

- name: Install Agent
command: ./env/bin/pip install -e /home/frappe/agent/repo
args:
chdir: /home/frappe/agent

- name: Update Agent
become: yes
become_user: frappe
Expand Down

0 comments on commit b8d63db

Please sign in to comment.