Addded script as signed fix, added roles for ansible (not tested).

This commit is contained in:
Emiliano Vavassori 2018-03-21 00:19:26 +01:00
commit d62c521caf
6 changed files with 103 additions and 0 deletions

View file

@ -0,0 +1,25 @@
---
# Installation from github sources
- name: Installation from github
git:
repo: 'https://github.com/tuxmouraille/gSpeech.git'
dest: /opt/gSpeech
become: yes
become_user: root
- name: Installing desktop file
copy:
src: gspeech.desktop
dest: /opt/gSpeech/gspeech.desktop
owner: root
group: root
mode: 0644
become: yes
become_user: root
- name: Linking desktop file where it can be found by system
file:
src: /opt/gSpeech/gspeech.desktop
dest: /usr/share/applications/gspeech.desktop
state: link

View file

@ -0,0 +1,12 @@
---
# Installing gSpeech from sources (python scripts)
- include: prerequisites.yml
tags:
- gspeech
- gspeech-prereq
- include: installation.yml
tags:
- gspeech
- gspeech-install

View file

@ -0,0 +1,18 @@
---
- name: Dependencies for gSpeech
apt:
name:
- python-gst0.10
- python-gtk2
- libttspico-utils
- python-notify
- gstreamer0.10-plugins-base
- gstreamer0.10-plugins-good
- gstreamer0.10-pulseaudio
- python-appindicator
- sox
- git
state: present
update_cache: yes
become: yes
become_user: root