Skip to content

Commit

Permalink
FIX lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wabscale authored and bbaassssiiee committed Oct 28, 2021
1 parent 59778ec commit f83beaa
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,11 @@
retries: 10
delay: 2
when:
- ansible_os_family == 'RedHat'
- (collections_enabled|bool and ansible_distribution_major_version|int < 8) or
(DTSVER|int >= 9 and ansible_distribution_major_version|int == 8)
- ansible_os_family == 'RedHat'
- (collections_enabled|bool
and ansible_distribution_major_version|int < 8) or
(DTSVER|int >= 9
and ansible_distribution_major_version|int == 8)
tags:
- base_gcc

Expand Down Expand Up @@ -233,8 +235,10 @@
mode: 0755
when:
- ansible_os_family == 'RedHat'
- (collections_enabled|bool and ansible_distribution_major_version|int < 8) or
(DTSVER|int >= 9 and ansible_distribution_major_version|int == 8)
- (collections_enabled|bool
and ansible_distribution_major_version|int < 8) or
(DTSVER|int >= 9
and ansible_distribution_major_version|int == 8)
tags:
- base_gcc
- notest
Expand All @@ -253,8 +257,10 @@
- name: source devtoolset enable file
when:
- ansible_os_family == 'RedHat'
- (collections_enabled|bool and ansible_distribution_major_version|int < 8) or
(DTSVER|int >= 9 and ansible_distribution_major_version|int == 8)
- (collections_enabled|bool
and ansible_distribution_major_version|int < 8) or
(DTSVER|int >= 9
and ansible_distribution_major_version|int == 8)
set_fact:
cmd_env: "source /opt/rh/{{ cplusplus_devtoolset }}/enable && "
tags:
Expand Down

0 comments on commit f83beaa

Please sign in to comment.