Skip to content

Commit

Permalink
Add PCA-specific environment variables
Browse files Browse the repository at this point in the history
These environment variables were asked fro in cisagov/cool-system#212.
  • Loading branch information
jsf9k committed Jul 31, 2021
1 parent 3851558 commit ce5ee11
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/vnc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}"
Expand Down

0 comments on commit ce5ee11

Please sign in to comment.