Add true to default for hosts variable
Showing
1 changed file
with
1 additions
and
1 deletions
| 1 | --- | 1 | --- |
| 2 | #Example comment 2 | 2 | #Example comment 2 |
| 3 | - name: Playbook para instalar beats | 3 | - name: Playbook para instalar beats |
| 4 | hosts: "{{ server | default('beat') }}" | 4 | hosts: "{{ server | default('beat', true) }}" |
| 5 | become: true | 5 | become: true |
| 6 | tasks: | 6 | tasks: |
| 7 | - name: Install beats | 7 | - name: Install beats | ... | ... |
-
Please register or sign in to post a comment