Skip to content

Commit

Permalink
fix(ansible): 取消 deploy 类型的主机运行其他的 role 任务
Browse files Browse the repository at this point in the history
  • Loading branch information
JokerDevops committed Aug 19, 2024
1 parent 28d312a commit e022626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/kube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- deploy

- name: always run
hosts: all
hosts: all:!deploy
any_errors_fatal: true
gather_facts: yes
roles:
Expand Down

0 comments on commit e022626

Please sign in to comment.