zuul-jobs/test-playbooks/ensure-python-pyenv.yaml
Sorin Sbarnea 9baebe3684 yamlint: EOF newlines and comments indent
Fixed two rules which where temporary disabled during introduction
of the linter.

Change-Id: Icd1e1b40b1e8207ab5ff7088a48e8f0a800e3aa8
2020-05-14 08:42:17 +00:00

14 lines
369 B
YAML

- hosts: all
tasks:
- name: Include ensure-python role
include_role:
name: ensure-python
vars:
python_use_pyenv: true
python_version: 3.8
- name: Check installed version of Python
command: /usr/local/bin/python3 --version
register: _check_version
failed_when: "'Python 3.8' not in _check_version.stdout"