Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nsd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
ansible
nsd
Commits
b74c1f88
Commit
b74c1f88
authored
8 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
- Validate config as a task (Ansible's validate requires specifying the config file).
parent
0f51a2af
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/main.yml
+4
-2
4 additions, 2 deletions
tasks/main.yml
with
4 additions
and
2 deletions
tasks/main.yml
+
4
−
2
View file @
b74c1f88
...
...
@@ -35,7 +35,6 @@
owner
:
root
group
:
0
mode
:
0o0644
validate
:
'
nsd-checkconf
{{
nsd_conf
}}'
notify
:
-
Restart NSD
...
...
@@ -49,7 +48,6 @@
owner
:
root
group
:
0
mode
:
0o644
validate
:
'
nsd-checkconf
{{
nsd_conf
}}'
notify
:
-
Restart NSD
...
...
@@ -63,6 +61,10 @@
notify
:
-
Update SMTPd database
-
name
:
Validate config
command
:
'
nsd-checkconf
{{
nsd_conf
}}'
changed_when
:
False
-
name
:
Enable NSD
service
:
name
:
nsd
...
...
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