Update main.yml

修正centos9 这个task不运行的问题.
pull/1413/head
Awan 2024-08-03 12:55:56 -07:00 committed by jmgao
parent 4f26947b15
commit b2b66f922e
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@
when: 'ansible_distribution_file_variety in ["Debian"]'
- import_tasks: redhat.yml
when: 'ansible_distribution_file_variety in ["RedHat"]'
# when: 'ansible_distribution_file_variety in ["RedHat"]'
when: ansible_distribution_file_variety in ["RedHat"] or ansible_distribution in ["CentOS"]
- import_tasks: suse.yml
when: 'ansible_distribution_file_variety in ["SUSE"]'