Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
samba
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
samba
Commits
e74f22d2
Commit
e74f22d2
authored
3 years ago
by
Ciarán McKenna
Browse files
Options
Downloads
Patches
Plain Diff
Fix ansible syntax
parent
b97ba76e
Branches
fix-samba-replication
No related tags found
1 merge request
!5
Fix replication ssh key
Pipeline
#3469
failed
3 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ad-server-replication/tasks/main.yml
+2
-2
2 additions, 2 deletions
ad-server-replication/tasks/main.yml
with
2 additions
and
2 deletions
ad-server-replication/tasks/main.yml
+
2
−
2
View file @
e74f22d2
...
...
@@ -127,14 +127,14 @@
-
ad-server
-
name
:
ensure that replication ssh private key exists
openssh_keypair
:
community.crypto.
openssh_keypair
:
path
:
/root/.ssh/id_replication
type
:
ed25519
delegate_to
:
"
{{
ad_primary
}}"
register
:
replication_keypair
-
name
:
ensure that replication ssh pubkey is in authorized_keys
authorized_key
:
ansible.posix.
authorized_key
:
user
:
root
state
:
present
key
:
"
{{
replication_keypair.public_key
}}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment