diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-08-01 05:07:48 -0400 |
---|---|---|
committer | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-08-01 11:14:58 -0400 |
commit | 20f85a4541d9091dd123d94c8f94c6f90947bd31 (patch) | |
tree | 5b1bbb01c9be6b2a65b4ff82a003b9b514b81d6b /deploy/adapters/ansible/openstack_mitaka_xenial/roles/swift/tasks | |
parent | 922471630508ca190e7fd0530c7e67c8f49a6530 (diff) |
modify moon
JIRA: COMPASS-451
Change-Id: I8b229ef6104d84e00ae2cf73b488edc779b73cf1
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/openstack_mitaka_xenial/roles/swift/tasks')
-rw-r--r-- | deploy/adapters/ansible/openstack_mitaka_xenial/roles/swift/tasks/swift-compute1.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/swift/tasks/swift-compute1.yml b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/swift/tasks/swift-compute1.yml index 68e34d0e..e6e4e6aa 100644 --- a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/swift/tasks/swift-compute1.yml +++ b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/swift/tasks/swift-compute1.yml @@ -64,11 +64,14 @@ chown -R root:swift /var/cache/swift; chmod -R 775 /var/cache/swift; -- name: copy swift lib - copy: src=swift-lib.tar.gz dest=/tmp/swift-lib.tar.gz +#- name: copy swift lib +# copy: src=swift-lib.tar.gz dest=/tmp/swift-lib.tar.gz - name: upload swift lib - unarchive: src=swift-lib.tar.gz dest=/usr/lib/ + unarchive: src=swift-lib.tar.gz dest=/tmp/ + +- name: copy swift lib + shell: command: su -s /bin/sh -c "cp /tmp/swift-lib/* /usr/lib/" #- name: untar swift lib # shell: > |