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:
Emiliano Vavassori 2015-11-05 01:58:54 +01:00
parent dd4734ce4b
commit 656e3fce7a
3 changed files with 7 additions and 7 deletions

View File

@ -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 -->
<!--

View File

@ -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

View File

@ -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'