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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
samba
Merge requests
!5
Fix replication ssh key
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Open
Fix replication ssh key
fix-samba-replication
into
master
Overview
1
Commits
2
Pipelines
2
Changes
1
Open
Fix replication ssh key
Ciarán McKenna
requested to merge
fix-samba-replication
into
master
Nov 2, 2021
Overview
1
Commits
2
Pipelines
2
Changes
1
Two new ansible tasks, free of charge, just for you!
0
0
Merge request reports
Compare
master
version 1
b97ba76e
Nov 2, 2021
master (HEAD)
and
latest version
latest version
e74f22d2
2 commits,
Nov 2, 2021
version 1
b97ba76e
1 commit,
Nov 2, 2021
1 file
+
13
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ad-server-replication/tasks/main.yml
+
13
−
0
View file @ 5710324b
Edit in single-file editor
Open in Web IDE
Show full file
@@ -126,6 +126,19 @@
tags
:
-
ad-server
-
name
:
ensure that replication ssh private key exists
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
ansible.posix.authorized_key
:
user
:
root
state
:
present
key
:
"
{{
replication_keypair.public_key
}}"
-
name
:
ensure we have a replication cronjob for sysvol
template
:
src
:
replication-cron
Loading