summaryrefslogtreecommitdiffstats
path: root/prototypes
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-04-10 09:05:39 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-04-10 09:05:39 +0000
commitf5c14a8c277dfd487f080e6dfaedc37bf10b34d8 (patch)
tree7f8180191bd9489d045a24e479dac9e98d1c4a31 /prototypes
parent20e7e881e5ee2d4247f31e541263c61d30d576a1 (diff)
parentb800b62ce28655917ddc12fd7049a6d38cbda986 (diff)
Merge "xci: Fix images directory permissions"
Diffstat (limited to 'prototypes')
-rw-r--r--prototypes/openstack-ansible/playbooks/configure-targethosts.yml2
-rw-r--r--prototypes/xci/playbooks/roles/configure-nfs/tasks/main.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/prototypes/openstack-ansible/playbooks/configure-targethosts.yml b/prototypes/openstack-ansible/playbooks/configure-targethosts.yml
index 1f4ad063e..538fe17ec 100644
--- a/prototypes/openstack-ansible/playbooks/configure-targethosts.yml
+++ b/prototypes/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/prototypes/xci/playbooks/roles/configure-nfs/tasks/main.yml b/prototypes/xci/playbooks/roles/configure-nfs/tasks/main.yml
index b188f4dbb..66dd0afa3 100644
--- a/prototypes/xci/playbooks/roles/configure-nfs/tasks/main.yml
+++ b/prototypes/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: