summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-06 12:43:25 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-06 18:57:36 +0100
commitb227070796713b671fe499b7a1d3f767b5bb9b58 (patch)
tree691e7674a0fef17882ae7da8a84b96b55f049328 /roles
parentb6984948ccd39e4aba15f02822703edebecb6bb7 (diff)
downloadAnsible-b227070796713b671fe499b7a1d3f767b5bb9b58.tar.gz
Ansible-b227070796713b671fe499b7a1d3f767b5bb9b58.tar.zst
Ansible-b227070796713b671fe499b7a1d3f767b5bb9b58.zip
Add environment file for Fretlink
Diffstat (limited to 'roles')
-rw-r--r--roles/contexts/fretlink/tasks/main.yml10
1 files changed, 10 insertions, 0 deletions
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