Skip to content

Commit

Permalink
Change export and source priority
Browse files Browse the repository at this point in the history
  • Loading branch information
lciolecki authored Apr 19, 2018
1 parent efb4ca9 commit e6466f7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
action:
module: lineinfile
dest: "{{ virtualenvwrapper_shell_file }}"
regexp: "export WORKON_HOME"
line: "export WORKON_HOME={{ virtualenvwrapper_home }}"
insertbefore: "BOF"
state: present
backup: yes
create: yes
Expand All @@ -19,8 +19,8 @@
action:
module: lineinfile
dest: "{{ virtualenvwrapper_shell_file }}"
regexp: "export PROJECT_HOME"
line: "export PROJECT_HOME={{ virtualenvwrapper_project }}"
insertafter: "export WORKON_HOME={{ virtualenvwrapper_home }}"
state: present
backup: yes
create: yes
Expand All @@ -33,8 +33,8 @@
action:
module: lineinfile
dest: "{{ virtualenvwrapper_shell_file }}"
regexp: "export VIRTUALENVWRAPPER_PYTHON"
line: "export VIRTUALENVWRAPPER_PYTHON={{ virtualenvwrapper_python }}"
insertafter: "export PROJECT_HOME={{ virtualenvwrapper_project }}"
state: present
backup: yes
create: yes
Expand All @@ -47,8 +47,8 @@
action:
module: lineinfile
dest: "{{ virtualenvwrapper_shell_file }}"
regexp: "export VIRTUALENVWRAPPER_VIRTUALENV"
line: "export VIRTUALENVWRAPPER_VIRTUALENV={{ virtualenvwrapper_virtualenv }}"
insertafter: "export VIRTUALENVWRAPPER_PYTHON={{ virtualenvwrapper_python }}"
state: present
backup: yes
create: yes
Expand All @@ -61,11 +61,11 @@
action:
module: lineinfile
dest: "{{ virtualenvwrapper_shell_file }}"
regexp: "source {{ virtualenvwrapper_source }}"
line: "source {{ virtualenvwrapper_source }}"
insertafter: "export VIRTUALENVWRAPPER_VIRTUALENV={{ virtualenvwrapper_virtualenv }}"
state: present
backup: yes
create: yes
tags:
- virtualenvwrapper
- virtualenvwrapper.configuration
- virtualenvwrapper.configurationa

0 comments on commit e6466f7

Please sign in to comment.