diff options
Diffstat (limited to 'roles/contexts/fretlink/tasks/main.yml')
-rw-r--r-- | roles/contexts/fretlink/tasks/main.yml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/roles/contexts/fretlink/tasks/main.yml b/roles/contexts/fretlink/tasks/main.yml index 99d39b3..0908eca 100644 --- a/roles/contexts/fretlink/tasks/main.yml +++ b/roles/contexts/fretlink/tasks/main.yml | |||
@@ -72,15 +72,10 @@ | |||
72 | - start | 72 | - start |
73 | - name: environment variables file | 73 | - name: environment variables file |
74 | block: | 74 | block: |
75 | - name: extract environment | 75 | - name: environment file |
76 | shell: "pass show Travail/Fretlink/Environment" | 76 | template: |
77 | register: fretlink_environment | 77 | src: environment.j2 |
78 | changed_when: false | ||
79 | check_mode: no | ||
80 | - name: store environment | ||
81 | copy: | ||
82 | dest: $HOME/workdir/environment | 78 | dest: $HOME/workdir/environment |
83 | content: "{{ fretlink_environment.stdout }}" | ||
84 | rescue: | 79 | rescue: |
85 | - debug: | 80 | - debug: |
86 | msg: "Could not read password store, continuing" | 81 | msg: "Could not read password store, continuing" |