variable username

This commit is contained in:
2021-04-27 15:00:12 +02:00
parent d25c2f7a15
commit aa0fe4d039
6 changed files with 9 additions and 8 deletions
+3 -3
View File
@@ -2,14 +2,14 @@
file:
path: "/container/docker-images/htcondor"
state: directory
owner: thoto
owner: "{{unpriv_user}}"
group: docker
mode: "u=rwx,g=rwx,o=rx"
- copy:
dest: "/container/docker-images/htcondor/Dockerfile"
src: "htcondor.Dockerfile"
owner: thoto
owner: "{{unpriv_user}}"
group: docker
register: cp_dockerfile
@@ -26,7 +26,7 @@
copy:
src: "conf/{{item}}/"
dest: "/container/volumes/{{item}}/"
owner: thoto
owner: "{{unpriv_user}}"
group: docker
mode: "u=rwx,g=rwx"
with_items: [ "cm", "exec", "sub", "common"]