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

Allow multiple match blocks #23

Merged
merged 1 commit into from
Dec 9, 2017

Conversation

jpiron
Copy link

@jpiron jpiron commented Oct 11, 2017

By adding the sftp_group_name in the block marker, one can execute the
role several times with different groups without overriding existing
configuration.
For instance, this can be used to defined 2 stfp groups, one allowing
password authentication and not the other.

By adding the sftp_group_name in the block marker, one can execute the
role several times with different groups without overriding existing
configuration.
For instance, this can be used to defined 2 stfp groups, one allowing
password authentication and not the other.
@johanmeiring
Copy link
Owner

Hi @jpiron ! Thanks for your patience with this, my apologies for the delay. I like it, and will likely merge it after a quick round of testing tonight or tomorrow.

@johanmeiring
Copy link
Owner

Looks good to me, thanks for the contribution!

@johanmeiring johanmeiring merged commit eb63a70 into johanmeiring:master Dec 9, 2017
@johanmeiring
Copy link
Owner

Now available in v2.5.0 on Ansible Galaxy.

@jpiron jpiron deleted the multiple_match_blocks branch March 14, 2018 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants