From 5d31a79ddc80a38095723c8ed3008c348e0f764e Mon Sep 17 00:00:00 2001 From: fosslinux Date: Sun, 26 May 2019 20:59:34 +0000 Subject: [PATCH] add botany --- roles/shell/tasks/botany.yml | 15 +++++++++++++++ roles/shell/tasks/main.yml | 1 + 2 files changed, 16 insertions(+) create mode 100644 roles/shell/tasks/botany.yml diff --git a/roles/shell/tasks/botany.yml b/roles/shell/tasks/botany.yml new file mode 100644 index 0000000..833d0d6 --- /dev/null +++ b/roles/shell/tasks/botany.yml @@ -0,0 +1,15 @@ +# Configure botany +# must manually initalize sqlite database by running botany as root once +--- +- name: Clone botany repository + git: + repo: 'https://github.com/jifunks/botany.git' + dest: /var/lib/botany + force: yes + +- name: Install botany executable + file: + src: /var/lib/botany/botany.py + dest: /usr/local/bin/botany + mode: 0755 + state: link diff --git a/roles/shell/tasks/main.yml b/roles/shell/tasks/main.yml index 81fddcc..85ecb53 100644 --- a/roles/shell/tasks/main.yml +++ b/roles/shell/tasks/main.yml @@ -14,3 +14,4 @@ - include: iris.yml - include: gopher.yml - include: pb.yml +- include: botany.yml