modipy ansible role for pypi packaing
This commit is contained in:
@@ -62,16 +62,6 @@
|
||||
group: "{{ ffxSystemUsername }}"
|
||||
mode: 0755
|
||||
|
||||
- name: Prepare ffx virtualenv
|
||||
become: true
|
||||
become_user: "{{ ffxSystemUsername }}"
|
||||
ansible.builtin.pip:
|
||||
name:
|
||||
- click
|
||||
- textual
|
||||
- sqlalchemy
|
||||
- requests
|
||||
virtualenv: "{{ ffxHomeDirectory }}/.local/share/ffx.venv"
|
||||
|
||||
- name: Clone ffx repository
|
||||
become: true
|
||||
@@ -82,6 +72,15 @@
|
||||
version: dev
|
||||
|
||||
|
||||
- name: Install FFX package in venv
|
||||
become: true
|
||||
become_user: "{{ ffxSystemUsername }}"
|
||||
ansible.builtin.pip:
|
||||
name: .
|
||||
chdir: "{{ ffxHomeDirectory }}/.local/src/ffx"
|
||||
virtualenv: "{{ ffxHomeDirectory }}/.local/share/ffx.venv"
|
||||
|
||||
|
||||
- name: Add TMDB API token placeholer to .bashrc
|
||||
become: true
|
||||
become_user: "{{ ffxSystemUsername }}"
|
||||
@@ -98,8 +97,7 @@
|
||||
path: "{{ ffxHomeDirectory }}/.bashrc"
|
||||
insertbefore: BOF
|
||||
line: >-
|
||||
alias ffx="{{ ffxHomeDirectory }}/.local/share/ffx.venv/bin/python
|
||||
{{ ffxHomeDirectory }}/.local/src/ffx/bin/ffx.py"
|
||||
alias ffx="{{ ffxHomeDirectory }}/.local/share/ffx.venv/bin/ffx
|
||||
|
||||
|
||||
- name: Ensure local sync directory
|
||||
|
||||
Reference in New Issue
Block a user