-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a sample playbook when creating new collection
This sorts a problem where people might not know where to create new playbooks inside collections.
- Loading branch information
Showing
4 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
6 changes: 6 additions & 0 deletions
6
src/ansible_creator/resources/collection_project/playbooks/deploy-sample.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- name: Sample deployment playbook | ||
hosts: '{{ target | default("all") }}' | ||
tasks: | ||
- name: Print a message | ||
ansible.builtin.debug: | ||
msg: "Hello, World!" |
Empty file.
6 changes: 6 additions & 0 deletions
6
tests/fixtures/collection/testorg/testcol/playbooks/deploy-sample.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- name: Sample deployment playbook | ||
hosts: '{{ target | default("all") }}' | ||
tasks: | ||
- name: Print a message | ||
ansible.builtin.debug: | ||
msg: "Hello, World!" |