]> git.immae.eu Git - perso/Immae/Config/Ansible.git/commitdiff
Add environment file for Fretlink
authorIsmaël Bouya <ismael.bouya@fretlink.com>
Tue, 6 Nov 2018 11:43:25 +0000 (12:43 +0100)
committerIsmaël Bouya <ismael.bouya@fretlink.com>
Tue, 6 Nov 2018 17:57:36 +0000 (18:57 +0100)
password_store
roles/contexts/fretlink/tasks/main.yml
site.yml

index 7f7ce3b8f8092f76fa826ce6f81f36ffd052c591..7a3d737bfef73cbbfe43ab5541233fca68b7443b 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 7f7ce3b8f8092f76fa826ce6f81f36ffd052c591
+Subproject commit 7a3d737bfef73cbbfe43ab5541233fca68b7443b
index e16d6690373e7e61b10a9ec0268d5e6cd0881be8..bbeae933ef3305a899fc184396c9ff7481d4c308 100644 (file)
     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
index a2bbe22d9ef1b4c406078675040bab3a92d82cff..3d5a8d714385abe89563380f227768120c6cf585 100644 (file)
--- a/site.yml
+++ b/site.yml
@@ -21,5 +21,5 @@
     - shell/bash
     - lxde
     - tools
-    - contexts/fretlink
     - gnupg
+    - contexts/fretlink