~verterok/charms/trusty/conn-check/xenial-support-take2

« back to all changes in this revision

Viewing changes to playbook.yaml

  • Committer: Guillermo Gonzalez
  • Date: 2017-01-16 15:53:13 UTC
  • Revision ID: guillermo.gonzalez@canonical.com-20170116155313-nqnkgqu5dy79j1qd
fix it

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
        - "{% if revision != 'head' -%} -r tag:conn-check-r{{ revision }} {%- endif %}"
70
70
      when: not wheels_path_stat.stat.exists
71
71
 
 
72
    - name: create virtualenv (only if not in trusty)
 
73
      tags: config-changed
 
74
      command: virtualenv --no-download {{ current_dir }} creates="{{ current_dir }}"
 
75
      when: ansible_distribution_release != "trusty"
 
76
 
72
77
    - name: install conn-check (only trusty)
73
78
      tags: config-changed
74
79
      pip:
76
81
        virtualenv: "{{ current_dir }}"
77
82
        name: conn_check[all]
78
83
        state: latest
79
 
      when: ansible_distribution_release == "trusty"
80
 
 
81
 
    - name: install conn-check (not trusty)
82
 
      tags: config-changed
83
 
      pip:
84
 
        extra_args: "--no-download --ignore-installed --no-index --find-links {{ wheels_dir }}/{{ revision }}"
85
 
        virtualenv: "{{ current_dir }}"
86
 
        name: conn_check[all]
87
 
        state: latest
88
 
      when: ansible_distribution_release != "trusty"
89
84
 
90
85
    - name: write config file if config_path isn't provided by the relation
91
86
      tags: