Files
@ 0a6b8255f0b7
Branch filter:
Location: majic-ansible-roles/roles/preseed/molecule/default/prepare.yml - annotation
0a6b8255f0b7
622 B
text/x-yaml
MAR-131: Use Python 3 in test site wsgihello2 role:
- Switch role to use Python 3 via meta dependency.
- Fix the demo application to work with Python 3.
- Update ipcalc dependency (so it would work with Python 3).
- Switch role to use Python 3 via meta dependency.
- Fix the demo application to work with Python 3.
- Update ipcalc dependency (so it would work with Python 3).
4ee589937d60 4ee589937d60 4ee589937d60 4ee589937d60 abe3f4e5e6a6 4ee589937d60 4ee589937d60 4ee589937d60 abe3f4e5e6a6 abe3f4e5e6a6 4ee589937d60 4ee589937d60 abe3f4e5e6a6 4ee589937d60 4ee589937d60 4ee589937d60 4ee589937d60 4ee589937d60 4ee589937d60 4ee589937d60 4ee589937d60 4ee589937d60 4ee589937d60 4ee589937d60 | ---
- name: Prepare
hosts: all
gather_facts: false
tasks:
- name: Install python for Ansible
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
become: true
changed_when: false
- hosts: parameters-mandatory
become: true
tasks:
# @TODO: This is a hack because inventory_dir used for
# preseed_directory comes from _host_.
- name: Set-up inventory directory matching location where molecule is running itself
file:
path: "{{ inventory_dir }}"
state: directory
owner: vagrant
group: vagrant
mode: 0700
|