Moving execmirrorpath to other point where domain.fact has been installed and read. Correcting pam_mount share options for mounting.
This commit is contained in:
parent
dd4734ce4b
commit
656e3fce7a
@ -14,10 +14,10 @@ processed in a single pass from top-to-bottom
|
||||
<!-- Volume definitions -->
|
||||
<volume user="*" sgrp="domain users" fstype="cifs"
|
||||
server="{{ ansible_local.domain.server }}" path="%(USER)" mountpoint="~"
|
||||
options="iocharset=utf8,file_mode=0644,dir_mode=0755,cache=strict" />
|
||||
options="acl,user_xattr,iocharset=utf8,file_mode=0644,dir_mode=0755,cache=strict" />
|
||||
<volume user="*" sgrp="domain users" fstype="cifs"
|
||||
server="{{ ansible_local.domain.server }}" path="shared" mountpoint="~/Condiviso"
|
||||
options="iocharset=utf8,file_mode=0664,dir_mode=0775,cache=strict" />
|
||||
options="acl,user_xattr,iocharset=utf8,file_mode=0664,dir_mode=0775,cache=strict" />
|
||||
|
||||
<!-- pam_mount parameters: General tunables -->
|
||||
<!--
|
||||
|
@ -1,10 +1,5 @@
|
||||
---
|
||||
|
||||
- name: Configuring executive mirrorpath
|
||||
set_fact:
|
||||
execmirrorpath: "{{ ansible_local.domain.mirrorpath}}"
|
||||
when: ansible_local.domain.mirror_mode == 'local' or ansible_local.domain.mirror_mode == 'nfs'
|
||||
|
||||
- include: prereq.yml
|
||||
tags: prereq
|
||||
|
||||
|
@ -41,3 +41,8 @@
|
||||
|
||||
- name: Loading repo/pkg versions
|
||||
setup: filter=ansible_local
|
||||
|
||||
- name: Configuring executive mirrorpath
|
||||
set_fact:
|
||||
execmirrorpath: "{{ ansible_local.domain.mirrorpath}}"
|
||||
when: ansible_local.domain.mirror_mode == 'local' or ansible_local.domain.mirror_mode == 'nfs'
|
||||
|
Loading…
x
Reference in New Issue
Block a user