Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
修正centos9 这个task不运行的问题.
  • Loading branch information
GitHubAwan authored and gjmzj committed Sep 28, 2024
1 parent 4f26947 commit b2b66f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/prepare/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]'
Expand Down

0 comments on commit b2b66f9

Please sign in to comment.