diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2017-04-08 20:52:02 +0200 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2017-08-11 12:56:12 -0700 |
commit | 796a5f56f02e131c996de434a3b7c95b346ec649 (patch) | |
tree | 41fd9a86e968a33267969b75d45ff22d39ec8b9d | |
parent | d478f7f9399b723bc2c9baad6dae0f80dd2172e1 (diff) |
xci: Fix images directory permissions
Change-Id: Ibc1b9662bb9865c0e309128327d620324ddca85c
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
-rw-r--r-- | openstack-ansible/playbooks/configure-targethosts.yml | 2 | ||||
-rw-r--r-- | 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: |