diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-06 12:43:25 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-06 18:57:36 +0100 |
commit | b227070796713b671fe499b7a1d3f767b5bb9b58 (patch) | |
tree | 691e7674a0fef17882ae7da8a84b96b55f049328 | |
parent | b6984948ccd39e4aba15f02822703edebecb6bb7 (diff) | |
download | Ansible-b227070796713b671fe499b7a1d3f767b5bb9b58.tar.gz Ansible-b227070796713b671fe499b7a1d3f767b5bb9b58.tar.zst Ansible-b227070796713b671fe499b7a1d3f767b5bb9b58.zip |
Add environment file for Fretlink
m--------- | password_store | 0 | ||||
-rw-r--r-- | roles/contexts/fretlink/tasks/main.yml | 10 | ||||
-rw-r--r-- | site.yml | 2 |
3 files changed, 11 insertions, 1 deletions
diff --git a/password_store b/password_store | |||
Subproject 7f7ce3b8f8092f76fa826ce6f81f36ffd052c59 | Subproject 7a3d737bfef73cbbfe43ab5541233fca68b7443 | ||
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 @@ | |||
34 | scope: user | 34 | scope: user |
35 | name: remind@work.service | 35 | name: remind@work.service |
36 | enabled: true | 36 | enabled: true |
37 | - name: extract environment | ||
38 | shell: "pass show Travail/Fretlink/Environment" | ||
39 | register: fretlink_environment | ||
40 | changed_when: false | ||
41 | check_mode: no | ||
42 | - name: store environment | ||
43 | copy: | ||
44 | dest: $HOME/workdir/environment | ||
45 | content: "{{ fretlink_environment.stdout }}" | ||
46 | backup: true | ||
@@ -21,5 +21,5 @@ | |||
21 | - shell/bash | 21 | - shell/bash |
22 | - lxde | 22 | - lxde |
23 | - tools | 23 | - tools |
24 | - contexts/fretlink | ||
25 | - gnupg | 24 | - gnupg |
25 | - contexts/fretlink | ||