diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2019-09-07 12:29:51 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2019-09-07 12:29:51 +0200 |
commit | 9b1cf1fff98c80fa2c2b157f1a8716b79fb040c2 (patch) | |
tree | f748e7ad7cfb774299424f7d9801efa41f8c84d9 | |
parent | c2b7cf8aa6de5e6ecf4bf9410c3f8395b43fd764 (diff) | |
download | Ansible-9b1cf1fff98c80fa2c2b157f1a8716b79fb040c2.tar.gz Ansible-9b1cf1fff98c80fa2c2b157f1a8716b79fb040c2.tar.zst Ansible-9b1cf1fff98c80fa2c2b157f1a8716b79fb040c2.zip |
-rw-r--r-- | roles/contexts/fretlink/tasks/main.yml | 12 | ||||
-rw-r--r-- | roles/contexts/fretlink/templates/environment.j2 | 6 | ||||
-rw-r--r-- | roles/lxde/files/config_files/lxsession-default-apps/settings.conf | 14 | ||||
-rw-r--r-- | roles/shell/bash/templates/bashrc.j2 | 1 |
4 files changed, 26 insertions, 7 deletions
diff --git a/roles/contexts/fretlink/tasks/main.yml b/roles/contexts/fretlink/tasks/main.yml index b7dd387..972da59 100644 --- a/roles/contexts/fretlink/tasks/main.yml +++ b/roles/contexts/fretlink/tasks/main.yml | |||
@@ -135,3 +135,15 @@ | |||
135 | tag: "{{ item.1 }}" | 135 | tag: "{{ item.1 }}" |
136 | name: "{{ item.0 }}" | 136 | name: "{{ item.0 }}" |
137 | loop: "{{ docker_images }}" | 137 | loop: "{{ docker_images }}" |
138 | - name: add backup_git_dirs | ||
139 | get_url: | ||
140 | url: "https://git.immae.eu/?p=perso/Immae/Projets/Scripts/Public.git;a=blob_plain;f=backup_git_dirs;hb=HEAD" | ||
141 | dest: $HOME/.local/bin/backup_git_dirs | ||
142 | mode: 0755 | ||
143 | checksum: sha256:6b93902373e1f9269adffb1d4a0353dd3382f4ce6cb75bad9f61a3c409b80c95 | ||
144 | - name: backup work directory | ||
145 | cron: | ||
146 | name: backup workdir | ||
147 | minute: 0 | ||
148 | hour: 1 | ||
149 | job: '$HOME/.local/bin/backup_git_dirs $HOME/workdir/*/' | ||
diff --git a/roles/contexts/fretlink/templates/environment.j2 b/roles/contexts/fretlink/templates/environment.j2 index 85d3dc7..ccd6737 100644 --- a/roles/contexts/fretlink/templates/environment.j2 +++ b/roles/contexts/fretlink/templates/environment.j2 | |||
@@ -273,6 +273,12 @@ if [ "$APP" = "third-parties" ]; then | |||
273 | export PROCTER_GAMBLE_CALLBACK_PASSWORD="{{ lookup('passwordstore', 'Travail/Fretlink/ProcterGamble/NotifierCallbackTest') }}" | 273 | export PROCTER_GAMBLE_CALLBACK_PASSWORD="{{ lookup('passwordstore', 'Travail/Fretlink/ProcterGamble/NotifierCallbackTest') }}" |
274 | export TRANSPOREON_CALLBACK_USER="{{ lookup('passwordstore', 'Travail/Fretlink/Transporeon/NotifierCallbackTest subkey=Login') }}" | 274 | export TRANSPOREON_CALLBACK_USER="{{ lookup('passwordstore', 'Travail/Fretlink/Transporeon/NotifierCallbackTest subkey=Login') }}" |
275 | export TRANSPOREON_CALLBACK_PASSWORD="{{ lookup('passwordstore', 'Travail/Fretlink/Transporeon/NotifierCallbackTest') }}" | 275 | export TRANSPOREON_CALLBACK_PASSWORD="{{ lookup('passwordstore', 'Travail/Fretlink/Transporeon/NotifierCallbackTest') }}" |
276 | |||
277 | export PROCTER_GAMBLE_FETCHER_HOST="{{ lookup('passwordstore', 'Travail/Fretlink/ProcterGamble/FTP subkey=Host') }}" | ||
278 | export PROCTER_GAMBLE_FETCHER_LOGIN="{{ lookup('passwordstore', 'Travail/Fretlink/ProcterGamble/FTP subkey=Login') }}" | ||
279 | export PROCTER_GAMBLE_FETCHER_PASSWORD="{{ lookup('passwordstore', 'Travail/Fretlink/ProcterGamble/FTP') }}" | ||
280 | export PROCTER_GAMBLE_FETCHER_PRODUCTION=false | ||
281 | |||
276 | fi | 282 | fi |
277 | 283 | ||
278 | if [ "$APP" = "pricer" ]; then | 284 | if [ "$APP" = "pricer" ]; then |
diff --git a/roles/lxde/files/config_files/lxsession-default-apps/settings.conf b/roles/lxde/files/config_files/lxsession-default-apps/settings.conf index c4ffed1..90209f2 100644 --- a/roles/lxde/files/config_files/lxsession-default-apps/settings.conf +++ b/roles/lxde/files/config_files/lxsession-default-apps/settings.conf | |||
@@ -26,19 +26,19 @@ email/installed= | |||
26 | file_manager/installed=Gestionnaire de fichiers PCManFM,pcmanfm,system-file-manager,/usr/share/applications/pcmanfm.desktop,; | 26 | file_manager/installed=Gestionnaire de fichiers PCManFM,pcmanfm,system-file-manager,/usr/share/applications/pcmanfm.desktop,; |
27 | screensaver/installed= | 27 | screensaver/installed= |
28 | composite_manager/installed= | 28 | composite_manager/installed= |
29 | desktop_manager/installed=Personnaliser l'apparence,lxappearance,preferences-desktop-theme,/usr/share/applications/lxappearance.desktop,;Applications par défaut pour LXSession,lxsession-default-apps,preferences-desktop,/usr/share/applications/lxsession-default-apps.desktop,;Applications préférées,libfm-pref-apps,preferences-desktop,/usr/share/applications/libfm-pref-apps.desktop,;Setup Hot Keys,lxhotkey,preferences-desktop-keyboard,/usr/share/applications/lxhotkey-gtk.desktop,;Préférences du bureau,pcmanfm,user-desktop,/usr/share/applications/pcmanfm-desktop-pref.desktop,;Paramètres de la session de bureau,lxsession-edit,preferences-desktop,/usr/share/applications/lxsession-edit.desktop,; | 29 | desktop_manager/installed=Applications préférées,libfm-pref-apps,preferences-desktop,/usr/share/applications/libfm-pref-apps.desktop,;Setup Hot Keys,lxhotkey,preferences-desktop-keyboard,/usr/share/applications/lxhotkey-gtk.desktop,;Personnaliser l'apparence,lxappearance,preferences-desktop-theme,/usr/share/applications/lxappearance.desktop,;Préférences du bureau,pcmanfm,user-desktop,/usr/share/applications/pcmanfm-desktop-pref.desktop,;Paramètres de la session de bureau,lxsession-edit,preferences-desktop,/usr/share/applications/lxsession-edit.desktop,;Applications par défaut pour LXSession,lxsession-default-apps,preferences-desktop,/usr/share/applications/lxsession-default-apps.desktop,; |
30 | power_manager/installed= | 30 | power_manager/installed= |
31 | polkit/installed= | 31 | polkit/installed= |
32 | im/installed= | 32 | im/installed= |
33 | widget/installed= | 33 | widget/installed= |
34 | terminal_manager/installed=LXTerminal,lxterminal,lxterminal,/usr/share/applications/lxterminal.desktop,; | 34 | terminal_manager/installed=LXTerminal,lxterminal,lxterminal,/usr/share/applications/lxterminal.desktop,;UXTerm,uxterm,xterm-color_48x48,/usr/share/applications/uxterm.desktop,;XTerm,xterm,xterm-color_48x48,/usr/share/applications/xterm.desktop,; |
35 | audio_player/installed=Lecteur multimédia VLC,/usr/bin/vlc,vlc,/usr/share/applications/vlc.desktop,;LXMusic simple music player,lxmusic,lxmusic,/usr/share/applications/lxmusic.desktop,;Qt V4L2 test Utility,qv4l2,qv4l2,/usr/share/applications/qv4l2.desktop,;GTK Youtube Viewer,gtk-youtube-viewer,gtk-youtube-viewer,/usr/share/applications/gtk-youtube-viewer.desktop,;Qt V4L2 video capture utility,qvidcap,qvidcap,/usr/share/applications/qvidcap.desktop,;MPlayer Media Player,mplayer,mplayer,/usr/share/applications/mplayer.desktop,;Contrôle du volume PulseAudio,pavucontrol,multimedia-volume-control,/usr/share/applications/pavucontrol.desktop,; | 35 | audio_player/installed=Lecteur multimédia VLC,/usr/bin/vlc,vlc,/usr/share/applications/vlc.desktop,;LXMusic simple music player,lxmusic,lxmusic,/usr/share/applications/lxmusic.desktop,;Qt V4L2 video capture utility,qvidcap,qvidcap,/usr/share/applications/qvidcap.desktop,;Qt V4L2 test Utility,qv4l2,qv4l2,/usr/share/applications/qv4l2.desktop,;Contrôle du volume PulseAudio,pavucontrol,multimedia-volume-control,/usr/share/applications/pavucontrol.desktop,;GTK Youtube Viewer,gtk-youtube-viewer,gtk-youtube-viewer,/usr/share/applications/gtk-youtube-viewer.desktop,;MPlayer Media Player,mplayer,mplayer,/usr/share/applications/mplayer.desktop,;Rosegarden,rosegarden,rosegarden,/usr/share/applications/com.rosegardenmusic.rosegarden.desktop,;Ardour,ardour5,ardour5,/usr/share/applications/ardour.desktop,; |
36 | video_player/installed=Lecteur multimédia VLC,/usr/bin/vlc,vlc,/usr/share/applications/vlc.desktop,;LXMusic simple music player,lxmusic,lxmusic,/usr/share/applications/lxmusic.desktop,;Qt V4L2 test Utility,qv4l2,qv4l2,/usr/share/applications/qv4l2.desktop,;GTK Youtube Viewer,gtk-youtube-viewer,gtk-youtube-viewer,/usr/share/applications/gtk-youtube-viewer.desktop,;Qt V4L2 video capture utility,qvidcap,qvidcap,/usr/share/applications/qvidcap.desktop,;MPlayer Media Player,mplayer,mplayer,/usr/share/applications/mplayer.desktop,;Contrôle du volume PulseAudio,pavucontrol,multimedia-volume-control,/usr/share/applications/pavucontrol.desktop,; | 36 | video_player/installed=Lecteur multimédia VLC,/usr/bin/vlc,vlc,/usr/share/applications/vlc.desktop,;LXMusic simple music player,lxmusic,lxmusic,/usr/share/applications/lxmusic.desktop,;Qt V4L2 video capture utility,qvidcap,qvidcap,/usr/share/applications/qvidcap.desktop,;Qt V4L2 test Utility,qv4l2,qv4l2,/usr/share/applications/qv4l2.desktop,;Contrôle du volume PulseAudio,pavucontrol,multimedia-volume-control,/usr/share/applications/pavucontrol.desktop,;GTK Youtube Viewer,gtk-youtube-viewer,gtk-youtube-viewer,/usr/share/applications/gtk-youtube-viewer.desktop,;MPlayer Media Player,mplayer,mplayer,/usr/share/applications/mplayer.desktop,;Rosegarden,rosegarden,rosegarden,/usr/share/applications/com.rosegardenmusic.rosegarden.desktop,;Ardour,ardour5,ardour5,/usr/share/applications/ardour.desktop,; |
37 | pdf_reader/installed=Visionneur d'images,gpicview,gpicview,/usr/share/applications/gpicview.desktop,;Visionneur de documents,evince,org.gnome.Evince,/usr/share/applications/org.gnome.Evince.desktop,;Aperçu avant impression,evince-previewer,document-print-preview,/usr/share/applications/org.gnome.Evince-previewer.desktop,; | 37 | pdf_reader/installed=Visionneur d'images,gpicview,gpicview,/usr/share/applications/gpicview.desktop,;Visionneur de documents,evince,org.gnome.Evince,/usr/share/applications/org.gnome.Evince.desktop,;Aperçu avant impression,evince-previewer,document-print-preview,/usr/share/applications/org.gnome.Evince-previewer.desktop,;XDvi,xdvi,,/usr/share/applications/xdvi.desktop,; |
38 | image_display/installed=Visionneur d'images,gpicview,gpicview,/usr/share/applications/gpicview.desktop,;Visionneur de documents,evince,org.gnome.Evince,/usr/share/applications/org.gnome.Evince.desktop,;Aperçu avant impression,evince-previewer,document-print-preview,/usr/share/applications/org.gnome.Evince-previewer.desktop,; | 38 | image_display/installed=Visionneur d'images,gpicview,gpicview,/usr/share/applications/gpicview.desktop,;Visionneur de documents,evince,org.gnome.Evince,/usr/share/applications/org.gnome.Evince.desktop,;Aperçu avant impression,evince-previewer,document-print-preview,/usr/share/applications/org.gnome.Evince-previewer.desktop,;XDvi,xdvi,,/usr/share/applications/xdvi.desktop,; |
39 | text_editor/installed=Vim,vim,gvim,/usr/share/applications/vim.desktop,; | 39 | text_editor/installed=Vim,vim,gvim,/usr/share/applications/vim.desktop,; |
40 | archive/installed= | 40 | archive/installed= |
41 | spreadsheet/installed=LibreOffice Calc,libreoffice,libreoffice-calc,/usr/share/applications/libreoffice-calc.desktop,;LibreOffice Math,libreoffice,libreoffice-math,/usr/share/applications/libreoffice-math.desktop,; | 41 | spreadsheet/installed=LibreOffice Math,libreoffice,libreoffice-math,/usr/share/applications/libreoffice-math.desktop,;LibreOffice Calc,libreoffice,libreoffice-calc,/usr/share/applications/libreoffice-calc.desktop,; |
42 | bittorent/installed= | 42 | bittorent/installed= |
43 | document/installed=LibreOffice Writer,libreoffice,libreoffice-writer,/usr/share/applications/libreoffice-writer.desktop,; | 43 | document/installed=LibreOffice Writer,libreoffice,libreoffice-writer,/usr/share/applications/libreoffice-writer.desktop,; |
44 | burn/installed= | 44 | burn/installed= |
diff --git a/roles/shell/bash/templates/bashrc.j2 b/roles/shell/bash/templates/bashrc.j2 index 1bf94e7..d6db656 100644 --- a/roles/shell/bash/templates/bashrc.j2 +++ b/roles/shell/bash/templates/bashrc.j2 | |||
@@ -121,6 +121,7 @@ __prompt_command () { | |||
121 | PS1+="$green\u@\h$blue \w \$$d " | 121 | PS1+="$green\u@\h$blue \w \$$d " |
122 | } | 122 | } |
123 | 123 | ||
124 | NIX_PATH=nixpkgs=channel:nixpkgs-unstable | ||
124 | source /usr/share/fzf/key-bindings.bash | 125 | source /usr/share/fzf/key-bindings.bash |
125 | source /usr/share/fzf/completion.bash | 126 | source /usr/share/fzf/completion.bash |
126 | export FZF_COMPLETION_TRIGGER='#' | 127 | export FZF_COMPLETION_TRIGGER='#' |