diff options
author | Firehose merge bot <firehose@merge.bot> | 2015-09-11 14:20:41 +0000 |
---|---|---|
committer | Firehose merge bot <firehose@merge.bot> | 2015-09-11 14:20:41 +0000 |
commit | 2bdd14418677134d0e2ebcfe573d43a9f85373fd (patch) | |
tree | 8b01773c86df9b7fbc10085b0e7f6766d5ac2436 /install-files/swift/usr/share/swift/swift-storage.yml | |
parent | 2ce31b8d63048dfc9e6db56c273097510e8bc257 (diff) | |
download | definitions-2bdd14418677134d0e2ebcfe573d43a9f85373fd.tar.gz |
Firehose test commit
Diffstat (limited to 'install-files/swift/usr/share/swift/swift-storage.yml')
-rw-r--r-- | install-files/swift/usr/share/swift/swift-storage.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/install-files/swift/usr/share/swift/swift-storage.yml b/install-files/swift/usr/share/swift/swift-storage.yml new file mode 100644 index 00000000..62a335ed --- /dev/null +++ b/install-files/swift/usr/share/swift/swift-storage.yml @@ -0,0 +1,24 @@ +--- +- hosts: localhost + vars_files: + - swift-storage-vars.yml + vars: + remote_user: root + tasks: + - user: name=swift comment="Swift user" + - file: path=/etc/swift owner=swift group=swift state=directory recurse=yes + + - template: src=/usr/share/swift/etc/rsyncd.j2 dest=/etc/rsyncd.conf + mode=0644 owner=swift group=swift + + - template: src=/usr/share/swift/etc/swift/{{ item }}.j2 + dest=/etc/swift/{{ item }}.conf mode=0644 owner=swift group=swift + with_items: + - account-server + - container-server + - object-server + - swift + + - file: path=/srv/node owner=swift group=swift state=directory recurse=yes + - file: path=/var/cache/swift owner=swift group=swift state=directory + recurse=yes |