From 796a5f56f02e131c996de434a3b7c95b346ec649 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Sat, 8 Apr 2017 20:52:02 +0200 Subject: xci: Fix images directory permissions Change-Id: Ibc1b9662bb9865c0e309128327d620324ddca85c Signed-off-by: Fatih Degirmenci --- openstack-ansible/playbooks/configure-targethosts.yml | 2 +- xci/playbooks/roles/configure-nfs/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openstack-ansible/playbooks/configure-targethosts.yml b/openstack-ansible/playbooks/configure-targethosts.yml index 1f4ad063..538fe17e 100644 --- a/openstack-ansible/playbooks/configure-targethosts.yml +++ b/openstack-ansible/playbooks/configure-targethosts.yml @@ -47,7 +47,7 @@ remote_user: root tasks: - name: make nfs dir - file: "dest=/images mode=777 state=directory" + file: "dest=/images mode=0777 state=directory" - name: configure sdrvice shell: "echo 'nfs 2049/tcp' >> /etc/services && echo 'nfs 2049/udp' >> /etc/services" - name: configure NFS diff --git a/xci/playbooks/roles/configure-nfs/tasks/main.yml b/xci/playbooks/roles/configure-nfs/tasks/main.yml index b188f4db..66dd0afa 100644 --- a/xci/playbooks/roles/configure-nfs/tasks/main.yml +++ b/xci/playbooks/roles/configure-nfs/tasks/main.yml @@ -12,7 +12,7 @@ - name: make NFS dir file: dest: /images - mode: 777 + mode: 0777 state: directory - name: configure NFS service lineinfile: -- cgit 1.2.3-korg