Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libsftp] pause the system-ldap playbook #4172

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

[libsftp] pause the system-ldap playbook #4172

wants to merge 1 commit into from

Conversation

acozine
Copy link
Contributor

@acozine acozine commented Aug 24, 2023

Closes #3774.

Needs testing, but this should pause the playbook that builds the libsftp box while the manual steps from the README are run, then resume once the user acknowledges the message.

@acozine acozine marked this pull request as draft August 24, 2023 15:45
@acozine acozine added the Operations pulls issues into the Operations ZenHub board label Sep 11, 2023
@acozine
Copy link
Contributor Author

acozine commented Oct 3, 2023

For testing this change:

  • run the playbook off this branch
  • register a new machine on the staging SFTP server
  • remove the new (test) machine after the playbook succeeds (🤞 )

Comment on lines +41 to +42
seconds: None
minutes: None
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried this out in a playbook of mine, I got the following error:

msg: 'parameters are mutually exclusive: minutes|seconds'

When I tried it with just one of them, I got a type error with seconds not allowed to be None (didn't capture the exact error, sorry).

If you just want a prompt that waits until the user enters ctrl-c to continue or abort, it seems that you only need the prompt (although that was not what I expected from reading the documentation)

Suggested change
seconds: None
minutes: None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Operations pulls issues into the Operations ZenHub board
Projects
None yet
Development

Successfully merging this pull request may close these issues.

system_ldap prompt on role
2 participants