Addded script as signed fix, added roles for ansible (not tested).
This commit is contained in:
commit
d62c521caf
6 changed files with 103 additions and 0 deletions
1
roles/gspeech/files/gspeech.desktop
Symbolic link
1
roles/gspeech/files/gspeech.desktop
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../gspeech.desktop
|
25
roles/gspeech/tasks/installation.yml
Normal file
25
roles/gspeech/tasks/installation.yml
Normal 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
|
12
roles/gspeech/tasks/main.yml
Normal file
12
roles/gspeech/tasks/main.yml
Normal 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
|
18
roles/gspeech/tasks/prerequisites.yml
Normal file
18
roles/gspeech/tasks/prerequisites.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue