How can I hide skipped tasks output in Ansible

后端 未结 5 2158
你的背包
你的背包 2020-12-30 23:32

I have Ansible role, for example

---
- name: Deploy app1
  include: deploy-app1.yml
  when: \'deploy_project == \"{{app1}}\"\'

- name: Deploy app2
  include         


        
5条回答
  •  遥遥无期
    2020-12-30 23:54

    Since ansible 2.4, a callback plugin name full_skip was added to suppress the skipping of task names and skipping keyword in the ansible output. You can try the below ansible configuration:

    [defaults]
    stdout_callback = full_skip
    

提交回复
热议问题