Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
samba
Commits
89ee8ec8
Commit
89ee8ec8
authored
Jul 09, 2019
by
Robin Sonnabend
Browse files
Fix references to renamed ansible group
parent
99dc51c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
nfs-server/tasks/main.yml
View file @
89ee8ec8
...
...
@@ -90,7 +90,7 @@
-
name
:
create service principal
# yamllint disable-line rule:line-length
command
:
samba-tool spn add "nfs/{{ ansible_fqdn }}" "{{ ansible_hostname | upper }}$"
delegate_to
:
"
{{
hostvars[groups['
ad-
server'][0]]['ansible_host']
}}"
delegate_to
:
"
{{
hostvars[groups['server
s_ad
'][0]]['ansible_host']
}}"
tags
:
-
nfs-server
-
service-principal
...
...
@@ -100,7 +100,7 @@
command
:
samba-tool domain exportkeytab "/root/{{ ansible_fqdn }}.keytab" --principal "nfs/{{ ansible_fqdn }}"
args
:
creates
:
"
/root/{{
ansible_fqdn
}}.keytab"
delegate_to
:
"
{{
hostvars[groups['
ad-
server'][0]]['ansible_host']
}}"
delegate_to
:
"
{{
hostvars[groups['server
s_ad
'][0]]['ansible_host']
}}"
tags
:
-
nfs-server
-
service-principal
...
...
@@ -109,7 +109,7 @@
synchronize
:
src
:
"
/root/{{
ansible_fqdn
}}.keytab"
dest
:
"
/root/{{
ansible_fqdn
}}.keytab"
delegate_to
:
"
{{
hostvars[groups['
ad-
server'][0]]['ansible_host']
}}"
delegate_to
:
"
{{
hostvars[groups['server
s_ad
'][0]]['ansible_host']
}}"
tags
:
-
nfs-server
-
service-principal
...
...
@@ -141,7 +141,7 @@
file
:
path
:
"
/root/{{
ansible_fqdn
}}.keytab"
state
:
absent
delegate_to
:
"
{{
hostvars[groups['
ad-
server'][0]]['ansible_host']
}}"
delegate_to
:
"
{{
hostvars[groups['server
s_ad
'][0]]['ansible_host']
}}"
tags
:
-
nfs-server
-
service-principal
...
...
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