1
0

Добавлен конфиг для тестирования

This commit is contained in:
2018-11-25 15:26:39 +03:00
parent 4ccdc232a2
commit 3c97ce5f93
6 changed files with 19 additions and 12 deletions

View File

@ -35,10 +35,10 @@
path: '/home/{{ owner_name }}/.bashrc'
regexp: '^export {{ item.key }}='
state: absent
with_dict: '{{ owner_envs }}'
with_dict: '{{ owner_env }}'
- name: 'Include environment variables for user "{{ owner_name }}" in bashrc.'
lineinfile:
path: '/home/{{ owner_name }}/.bashrc'
regexp: '^\. ~\/\.env'
line: '. ~/.env'
regexp: '^export \$\(grep -v'
line: 'export $(grep -v "^#" "$HOME"/.env | xargs)'