Skip to content

Commit

Permalink
Update hosts in playbook to use target_hosts
Browse files Browse the repository at this point in the history
variable
  • Loading branch information
rwaffen committed Nov 7, 2023
1 parent e2e4086 commit 6116765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbooks/foo.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: Demo playbook
hosts: foo
hosts: "{{ target_hosts | default('foo') }}"
roles:
- common

0 comments on commit 6116765

Please sign in to comment.