Files @ 5b6d00b0beab
Branch filter:

Location: majic-ansible-roles/roles/common/molecule/default/playbook.yml - annotation

branko
MAR-170: Always enforce use of HTTPS in the wsgi_server role:

- Dropped the enforce_https parameter.
- Updated tests.
- Updated release notes.
---

- hosts: helper
  become: true
  tasks:

    - name: Install apt-cacher-ng
      apt:
        name: apt-cacher-ng
        state: present

- hosts: parameters-mandatory,parameters-optional
  become: true
  roles:
    - common

- hosts: parameters-mandatory,parameters-optional
  become: true
  tasks:

    - name: Set-up directories for testing pip requirements upgrade checks script
      file:
        path: "{{ item }}"
        state: directory
        owner: root
        group: pipreqcheck
        mode: 0750
      with_items:
        - "/tmp/pip_check_requirements_upgrades"
        - "/tmp/pip_check_requirements_upgrades/with_updates"
        - "/tmp/pip_check_requirements_upgrades/without_updates"
        - "/tmp/pip_check_requirements_upgrades-py3"
        - "/tmp/pip_check_requirements_upgrades-py3/with_updates"
        - "/tmp/pip_check_requirements_upgrades-py3/without_updates"

    - name: Deploy files for testing pip requirements upgrade checks script
      copy:
        src: "{{ item }}"
        dest: "/tmp/{{ item }}"
        owner: root
        group: pipreqcheck
        mode: 0640
        directory_mode: 0750
      with_items:
        - "pip_check_requirements_upgrades/with_updates/requirements.in"
        - "pip_check_requirements_upgrades/with_updates/requirements.txt"
        - "pip_check_requirements_upgrades/without_updates/requirements.in"
        - "pip_check_requirements_upgrades/without_updates/requirements.txt"
        - "pip_check_requirements_upgrades-py3/with_updates/requirements.in"
        - "pip_check_requirements_upgrades-py3/with_updates/requirements.txt"
        - "pip_check_requirements_upgrades-py3/without_updates/requirements.in"
        - "pip_check_requirements_upgrades-py3/without_updates/requirements.txt"