blob: 00d15ddda6de878e836845a63ecc93d7277e4d49 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements; and to You under the Apache License, Version 2.0.
# This playbook deploys a CouchDB for Openwhisk.
- hosts: localhost
- name: check if db_local.ini exists?
tags: ini
stat: path="{{ playbook_dir }}/db_local.ini"
register: db
- name: prepare db_local.ini
tags: ini
local_action: template src="db_local.ini.j2" dest="{{ playbook_dir }}/db_local.ini"
when: not db.stat.exists
- hosts: db
- couchdb