From ce5ee11ac19596357ebcc1617debefac9ded5819 Mon Sep 17 00:00:00 2001 From: Jeremy Frasier Date: Fri, 30 Jul 2021 22:01:01 -0400 Subject: [PATCH] Add PCA-specific environment variables These environment variables were asked fro in cisagov/cool-system#212. --- src/vnc.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/vnc.yml b/src/vnc.yml index 64308d7..e4dfdb7 100644 --- a/src/vnc.yml +++ b/src/vnc.yml @@ -79,6 +79,20 @@ mode: 0644 owner: "{{ username }}" path: /home/{{ username }}/.bashrc + # These environment variables were asked for in + # cisagov/cool-system#212 + - name: Add PCA-specific environment variables + ansible.builtin.lineinfile: + create: yes + group: "{{ username }}" + line: "{{ item }}" + mode: 0644 + owner: "{{ username }}" + path: /home/{{ username }}/.bashrc + loop: + - EFS_SHARE=/share + - PCA_OPS_PATH=${EFS_SHARE}/PCA + - PCA_DEV_PATH=${EFS_SHARE}/private vars: # The username, password, and ssh keys for the VNC user username: "{{ lookup('aws_ssm', '/vnc/username') }}"