Advertisement
lbrigman124

Ansible behavior change

May 29th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. Change in Ansible:
  2. This task when used with tags ran
  3. # using tasks doesn't change search. Must add pathing
  4. - name: setup apps
  5. include_tasks: "{{app_item}}/setup-app.yml"
  6. vars:
  7. APP_PATH: "{{app_item}}"
  8. with_items:
  9. - "{{apps}}"
  10. loop_control:
  11. loop_var: app_item
  12. tags: apps
  13. #################################
  14. Now it just shows this and doesn't run the play:
  15. TASK [setup apps] ****************************************************************************************
  16. included: /root/project/awx-config/setup-app.yml for localhost
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement