add nim/tasks/main.yml

This commit is contained in:
staticsafe 2021-09-11 11:25:53 -04:00
parent 8c95b95579
commit 1c0184f107
2 changed files with 10 additions and 1 deletions

9
nim/tasks/main.yml Normal file
View File

@ -0,0 +1,9 @@
---
# This role will install nim into NITTER_USER using choosenim
- name: Download choosenim install script
ansible.builtin.get_url:
url: https://nim-lang.org/choosenim/init.sh
dest: "/home/{{ NITTER_USER }}/init.sh"
mode: '0755'
- name: Run choosenim install script
ansible.builtin.shell: "/home/{{ NITTER_USER }}/init.sh -y"

View File

@ -3,7 +3,7 @@
hosts: nitter
roles:
- common
# - nim
- nim
# - nitter-app
# - nitter-config
# - nitter-systemd