Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
package.dhcp.kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Simple Deploy- and Management
package.dhcp.kea
Commits
857a3b67
Commit
857a3b67
authored
May 06, 2019
by
Pietsch, Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chance variable package_service to package_services
parent
d96038c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
2 deletions
+50
-2
tasks/configure.yml
tasks/configure.yml
+37
-0
tasks/main.yml
tasks/main.yml
+12
-1
vars/main.yml
vars/main.yml
+1
-1
No files found.
tasks/configure.yml
0 → 100644
View file @
857a3b67
-
import_role
:
name
:
package.dhcp
tasks_from
:
configure
-
name
:
install ISC kea DHCPv4 configuration
template
:
src
:
"
{{
kea_dhcp4_config
}}"
dest
:
"
{{
system_config_directory
}}/kea/kea-dhcp4.conf"
-
name
:
install ISC kea DHCPv6 configuration
template
:
src
:
"
{{
kea_dhcp6_config
}}"
dest
:
"
{{
system_config_directory
}}/kea/kea-dhcp6.conf"
-
name
:
install ISC kea control agent configuration
template
:
src
:
"
{{
kea_control_agent_config
}}"
dest
:
"
{{
system_config_directory
}}/kea/kea-control-agent.conf"
-
name
:
start kea
service
:
name
:
"
{{
service
}}"
state
:
started
loop
:
"
{{
package_services[os.distribution
|
lower()]
}}"
loop_control
:
loop_var
:
service
register
:
keastart
-
name
:
reload kea
service
:
name
:
"
{{
service
}}"
state
:
reloaded
loop
:
"
{{
package_services[os.distribution
|
lower()]
}}"
loop_control
:
loop_var
:
service
when
:
keastart.changed == False
tasks/main.yml
View file @
857a3b67
---
# tasks file for package.dhcp.kea/
\ No newline at end of file
-
include_role
:
name
:
package.dhcp
-
name
:
create kea configuration directory
file
:
path
:
"
{{
system_config_directory
}}/kea"
state
:
directory
-
import_role
:
name
:
package.dhcp.kea
tasks_from
:
configure
vars/main.yml
View file @
857a3b67
...
...
@@ -3,7 +3,7 @@ package_packages: {
"
freebsd"
:
[
"
kea"
]
}
package_service
:
{
package_service
s
:
{
"
freebsd"
:
[
"
kea"
]
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment