Update playbook
This commit is contained in:
parent
80aec51520
commit
6d375c751a
1 changed files with 1 additions and 3 deletions
|
@ -2,8 +2,6 @@
|
||||||
- name: deploy blog
|
- name: deploy blog
|
||||||
hosts: blognas
|
hosts: blognas
|
||||||
remote_user: root
|
remote_user: root
|
||||||
# environment:
|
|
||||||
# PATH: /root/.poetry/bin:{{ ansible_env.PATH }}
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: install system dependencies
|
- name: install system dependencies
|
||||||
|
@ -34,7 +32,7 @@
|
||||||
- name: install python dependencies
|
- name: install python dependencies
|
||||||
shell:
|
shell:
|
||||||
chdir: /srv/blog
|
chdir: /srv/blog
|
||||||
cmd: . /srv/blogvenv/bin/activate && poetry install --no-dev
|
cmd: . /srv/blogvenv/bin/activate && python -m poetry install --no-dev
|
||||||
- name: install service
|
- name: install service
|
||||||
copy:
|
copy:
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
|
|
Reference in a new issue