This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
lilik_playbook
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
move service task and handler to a separate role (see ansible issue 23389, 20603, 15902)
python3
Andrea Cimbalo
8 years ago
parent
16db54b0e2
commit
b14299e2f1
2 changed files
with
7 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
roles/ldap/tasks/main.yaml
+2
-2
roles/ssh_server/tasks/main.yaml
+ 5
- 0
roles/ldap/tasks/main.yaml
View File
@ -1,3 +1,8 @@
-
include_role:
name
:
service
vars:
service_name
:
nscd
-
name
:
configure OpenLDAP (domain)
-
name
:
configure OpenLDAP (domain)
debconf:
debconf:
name
:
'slapd'
name
:
'slapd'
+ 2
- 2
roles/ssh_server/tasks/main.yaml
View File
@ -1,5 +1,5 @@
-
include
:
service.yaml
# static: yes # see static include issue: https://github.com/ansible/ansible/issues/13485
# We can not use include_role here since it not share thje connection with the current role
-
include
:
roles/service/tasks/main.yaml
vars:
vars:
service_name
:
ssh
service_name
:
ssh
service_packages:
service_packages:
Write
Preview
Loading…
Cancel
Save