From fa5fc90bff0c363e475381dbf204c90889974346 Mon Sep 17 00:00:00 2001 From: Andrei Stepanov Date: Jun 29 2018 12:47:44 +0000 Subject: Remove OS name in Ansible tasks names. --- diff --git a/roles/str-common-init/tasks/inspect.yml b/roles/str-common-init/tasks/inspect.yml index 74d7a86..20b1494 100644 --- a/roles/str-common-init/tasks/inspect.yml +++ b/roles/str-common-init/tasks/inspect.yml @@ -29,7 +29,7 @@ # Fix python ansible interpreter when running on RHEL8. Currently RHEL8 # uses python2, but it does miss some python2 modules, such as python2-dnf. # This can be removed once RHEL8 uses by default Python3 -- name: Hardcode Python interpreter for ansible modules on RHEL8 based OS +- name: Hardcode Python 3 interpreter for ansible modules set_fact: ansible_python_interpreter: /usr/bin/env python3 when: is_rhel8_based diff --git a/roles/str-common-init/tasks/trunner.yml b/roles/str-common-init/tasks/trunner.yml index f37909f..b14fca5 100644 --- a/roles/str-common-init/tasks/trunner.yml +++ b/roles/str-common-init/tasks/trunner.yml @@ -28,7 +28,7 @@ # Fix python ansible interpreter when running on RHEL8. Currently RHEL8 # uses python2, but it does miss some python2 modules, such as python2-dnf. # This can be removed once RHEL8 uses by default Python 3. - - name: Hardcode Python interpreter for ansible modules on RHEL8 based OS for test-runner + - name: Hardcode Python 3 interpreter for ansible modules for test-runner delegate_facts: True set_fact: ansible_python_interpreter: /usr/bin/env python3 diff --git a/roles/str-common-pkgs/tasks/inspect.yml b/roles/str-common-pkgs/tasks/inspect.yml index 74d7a86..20b1494 100644 --- a/roles/str-common-pkgs/tasks/inspect.yml +++ b/roles/str-common-pkgs/tasks/inspect.yml @@ -29,7 +29,7 @@ # Fix python ansible interpreter when running on RHEL8. Currently RHEL8 # uses python2, but it does miss some python2 modules, such as python2-dnf. # This can be removed once RHEL8 uses by default Python3 -- name: Hardcode Python interpreter for ansible modules on RHEL8 based OS +- name: Hardcode Python 3 interpreter for ansible modules set_fact: ansible_python_interpreter: /usr/bin/env python3 when: is_rhel8_based