From b227070796713b671fe499b7a1d3f767b5bb9b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 6 Nov 2018 12:43:25 +0100 Subject: Add environment file for Fretlink --- password_store | 2 +- roles/contexts/fretlink/tasks/main.yml | 10 ++++++++++ site.yml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/password_store b/password_store index 7f7ce3b..7a3d737 160000 --- a/password_store +++ b/password_store @@ -1 +1 @@ -Subproject commit 7f7ce3b8f8092f76fa826ce6f81f36ffd052c591 +Subproject commit 7a3d737bfef73cbbfe43ab5541233fca68b7443b diff --git a/roles/contexts/fretlink/tasks/main.yml b/roles/contexts/fretlink/tasks/main.yml index e16d669..bbeae93 100644 --- a/roles/contexts/fretlink/tasks/main.yml +++ b/roles/contexts/fretlink/tasks/main.yml @@ -34,3 +34,13 @@ scope: user name: remind@work.service enabled: true +- name: extract environment + shell: "pass show Travail/Fretlink/Environment" + register: fretlink_environment + changed_when: false + check_mode: no +- name: store environment + copy: + dest: $HOME/workdir/environment + content: "{{ fretlink_environment.stdout }}" + backup: true diff --git a/site.yml b/site.yml index a2bbe22..3d5a8d7 100644 --- a/site.yml +++ b/site.yml @@ -21,5 +21,5 @@ - shell/bash - lxde - tools - - contexts/fretlink - gnupg + - contexts/fretlink -- cgit v1.2.3