Skip to content

Commit f5751f5

Browse files
authored
Remove use of --path argument in ansible-creator commands (#2126)
1 parent 993f6cb commit f5751f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/features/lightspeed/vue/views/ansibleCreatorUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,9 +548,9 @@ export class AnsibleCreatorOperations {
548548
const creatorVersion = await getCreatorVersion();
549549

550550
if (semver.gte(creatorVersion, ANSIBLE_CREATOR_VERSION_MIN)) {
551-
return `ansible-creator init playbook ${namespace}.${collection} --path ${url} --no-ansi`;
552-
} else {
553551
return `ansible-creator init playbook ${namespace}.${collection} ${url} --no-ansi`;
552+
} else {
553+
return `ansible-creator init --project=ansible-project --init-path=${url} --scm-org=${namespace} --scm-project=${collection} --no-ansi`;
554554
}
555555
}
556556
}

0 commit comments

Comments
 (0)