diff --git a/tasks/custom_pss.yml b/tasks/custom_pss.yml index 45f3c525a796e91382563b6897930be06ea2fa8e..64dda098daf421fd36b76a0b8c3eab8b561ff013 100644 --- a/tasks/custom_pss.yml +++ b/tasks/custom_pss.yml @@ -2,8 +2,8 @@ - name: add a software folder file: path: /softwares - owner: csi - group: csi + owner: "{{ pss_nas_softs_owner }}" + group: "{{ pss_nas_softs_owner }}" mode: 0755 state: directory diff --git a/templates/smb-pss.conf.j2 b/templates/smb-pss.conf.j2 index 3424b00a1ae4cbf0c82b16433b8dc49431e04169..452470f3f8d3c228d6c24cab666b825be276cb2e 100644 --- a/templates/smb-pss.conf.j2 +++ b/templates/smb-pss.conf.j2 @@ -1,6 +1,6 @@ [softwares] path = /softwares read only = yes - force user = csi + force user = "{{ pss_nas_softs_owner }}" valid users = diff --git a/vars/pss.yml b/vars/pss.yml index 0a535fc4abc8452df4e2c8a359ce53c6e9a7aec0..7390f97f5251919498e3a0fe6320ddd23720b451 100644 --- a/vars/pss.yml +++ b/vars/pss.yml @@ -3,6 +3,8 @@ pss_nas_software_repo_url: https://artifactory.esss.lu.se/artifactory/list/PSS-S pss_nas_software_files: - test.zip +pss_nas_softs_owner: root + pss_soft_artifactory_password: !vault | $ANSIBLE_VAULT;1.1;AES256 61313832383735663030343438373138356135306636346235663238613563373165663565393330