discord-irc-sync: https://github.com/Hackndo/discord-irc-sync/issues/12 fixed.
This commit is contained in:
parent
ff1aa89843
commit
0885ec7c08
|
@ -13,20 +13,24 @@
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/Hackndo/discord-irc-sync.git
|
repo: https://github.com/Hackndo/discord-irc-sync.git
|
||||||
dest: ~/src/
|
dest: ~/src/
|
||||||
|
notify: restart discord-irc-sync
|
||||||
|
|
||||||
- name: Setup or upgrade venv
|
- name: Setup or upgrade venv
|
||||||
become: true
|
become: true
|
||||||
become_user: discord-irc-sync
|
become_user: discord-irc-sync
|
||||||
command: python3 -m venv --upgrade-deps /home/discord-irc-sync/venv/
|
command: python3 -m venv --upgrade-deps /home/discord-irc-sync/venv/
|
||||||
changed_when: False
|
changed_when: False
|
||||||
|
notify: restart discord-irc-sync
|
||||||
|
|
||||||
- name: Install discord-irc-sync requirements
|
- name: Install discord-irc-sync requirements
|
||||||
become: true
|
become: true
|
||||||
become_user: discord-irc-sync
|
become_user: discord-irc-sync
|
||||||
pip:
|
pip:
|
||||||
name: ["irc", "discord.py<2"]
|
requirements: /home/discord-irc-sync/src/requirements.txt
|
||||||
|
state: latest
|
||||||
virtualenv_command: /usr/bin/python3 -m venv
|
virtualenv_command: /usr/bin/python3 -m venv
|
||||||
virtualenv: "/home/discord-irc-sync/venv/"
|
virtualenv: "/home/discord-irc-sync/venv/"
|
||||||
|
notify: restart discord-irc-sync
|
||||||
|
|
||||||
- name: Configure discord-irc-sync
|
- name: Configure discord-irc-sync
|
||||||
copy:
|
copy:
|
||||||
|
|
Loading…
Reference in New Issue