Skip to content

Commit 7cd9f38

Browse files
author
Bradley A. Thornton
committed
Rename role, change parent to rm_dest
1 parent a9d79fc commit 7cd9f38

File tree

18 files changed

+8
-8
lines changed

18 files changed

+8
-8
lines changed

roles/init/tasks/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
- name: Ensure 'parent' variable is set (see README.md)
1+
- name: Ensure 'rm_dest' variable is set (see README.md)
22
assert:
3-
that: parent is defined
3+
that: rm_dest is defined
44

55
- name: Ensure 'structure' variable is set and one of 'role' or 'collection' (see README.md)
66
assert:
@@ -25,14 +25,14 @@
2525

2626
- name: "Create the {{ structure }} directory structure"
2727
file:
28-
path: "{{ parent }}/{{ item }}"
28+
path: "{{ rm_dest }}/{{ item }}"
2929
state: directory
3030
with_items: "{{ directories[structure] }}"
3131

32-
- name: Copy the license file to the parent directory
32+
- name: Copy the license file to the resource module destination directory
3333
copy:
3434
src: "{{ rm['LICENSE'] | default('gpl-3.0.txt') }}"
35-
dest: "{{ parent }}/LICENSE.txt"
35+
dest: "{{ rm_dest }}/LICENSE.txt"
3636

3737
- name: Ensure the 'collection_org' is set when 'structure' is set to collection
3838
assert:

0 commit comments

Comments
 (0)