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