Changeset - 7082b10731b7
[Not reviewed]
0 1 0
Branko Majic (branko) - 7 years ago 2017-04-19 23:08:53
branko@majic.rs
MAR-98: Fixed deployment of requirements files in the wsgihello2 role from testsite.
1 file changed with 2 insertions and 4 deletions:
0 comments (0 inline, 0 general)
testsite/playbooks/roles/wsgihello2/tasks/main.yml
Show inline comments
 
@@ -5,17 +5,15 @@
 
        owner="admin-wsgireq_{{ testsite_domain_underscores }}" group="web-wsgireq_{{ testsite_domain_underscores }}" mode=2750
 

	
 
- name: Deploy requirements and its source for upgrade checks
 
  copy: src="{{ item }}" dest="/etc/pip_check_requirements_upgrades/{{ item }}"
 
  copy: src="{{ item }}" dest="/etc/pip_check_requirements_upgrades/wsgireq.{{ testsite_domain }}/{{ item }}"
 
        owner="root" group="pipreqcheck" mode=640
 
  with_items:
 
    - requirements.in
 
    - requirements.txt
 

	
 
- name: Deploy requirements
 
  copy: src="{{ item }}" dest="/var/www/wsgireq.{{ testsite_domain }}/code/"
 
  copy: src="requirements.txt" dest="/var/www/wsgireq.{{ testsite_domain }}/code/requirements.txt"
 
        owner="admin-wsgireq_{{ testsite_domain_underscores }}" group="web-wsgireq_{{ testsite_domain_underscores }}" mode=640
 
  with_items:
 
    - requirements.txt
 

	
 
- name: Install latest version of pip
 
  become_user: "admin-wsgireq_{{ testsite_domain_underscores }}"
0 comments (0 inline, 0 general)