From 83b53fdc68b341f07b5192081a4caf068d4bbcd2 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:29:49 +0100 Subject: [PATCH] [PR #1329/f9e549a3 backport][0.15] Fix line breaks in cli examples (#1332) **This is a backport of PR #1329 as merged into main (f9e549a3a58df6454ba0f1d389949ab3da4535f5).** fixes #1328 Co-authored-by: Matthias Dellweg --- CHANGES/1328.doc | 1 + docs/_scripts/remote-collection-token.sh | 4 ++-- docs/_scripts/remote-collection.sh | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 CHANGES/1328.doc diff --git a/CHANGES/1328.doc b/CHANGES/1328.doc new file mode 100644 index 000000000..ee205feb7 --- /dev/null +++ b/CHANGES/1328.doc @@ -0,0 +1 @@ +Fixed linebreak issues in remote workflow cli examples. diff --git a/docs/_scripts/remote-collection-token.sh b/docs/_scripts/remote-collection-token.sh index 438139208..3dc89b0cc 100755 --- a/docs/_scripts/remote-collection-token.sh +++ b/docs/_scripts/remote-collection-token.sh @@ -2,7 +2,7 @@ pulp ansible remote -t "collection" create \ --name "abar" \ --auth-url "https://sso.qa.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token" \ - --token $ANSIBLE_TOKEN_AUTH \ + --token "$ANSIBLE_TOKEN_AUTH" \ --tls-validation false \ --url "https://cloud.redhat.com/api/automation-hub/" \ - --requirements "collections:\n - testing.ansible_testing_content" + --requirements $'collections:\n - testing.ansible_testing_content' diff --git a/docs/_scripts/remote-collection.sh b/docs/_scripts/remote-collection.sh index ad712d93e..0248540ee 100755 --- a/docs/_scripts/remote-collection.sh +++ b/docs/_scripts/remote-collection.sh @@ -2,6 +2,6 @@ pulp ansible remote -t "collection" create \ --name "cbar" \ --url "https://galaxy-dev.ansible.com/" \ - --requirements "collections:\n - testing.ansible_testing_content" -# If requirements are in a file instead -# you can use the option --requirements-file + --requirements $'collections:\n - testing.ansible_testing_content' +# If requirements are in a file +# you can use the option '--requirements @' instead.