added config that does not require aws for cassandra replication factor lab work
diff --git a/README b/README new file mode 100644 index 0000000..069c02d --- /dev/null +++ b/README
@@ -0,0 +1,5 @@ +Apigee OPDK Playbook Maintenance Cassandra Replication Factor +============================================================= + +This playbook uses the cassandra roles to modify the Cassandra Replication Factor. +
diff --git a/clean.yml b/clean.yml new file mode 100644 index 0000000..489da83 --- /dev/null +++ b/clean.yml
@@ -0,0 +1,20 @@ +--- +- hosts: localhost + connection: local + tasks: + - name: Clean files + async: 0 + poll: 0 + ignore_errors: yes + file: + path: '{{ item }}' + state: absent + with_items: + - '~/.ansible/tmp/cache' + - '~/.ansible/tmp/ansible.log' + - '~/.apigee/ssh_keys' + - '~/.apigee/logs' + - '~/.apigee/configs' + - '~/.apigee/logs_configs' + +
diff --git a/requirements.yml b/requirements.yml new file mode 100644 index 0000000..fc14d05 --- /dev/null +++ b/requirements.yml
@@ -0,0 +1,4 @@ +--- +- src: https://github.com/carlosfrias/apigee-opdk-cassandra-change-replication-factor.git + +- src: https://github.com/carlosfrias/apigee-opdk-cassandra-repair.git
diff --git a/update.yml b/update.yml new file mode 100644 index 0000000..a1388ac --- /dev/null +++ b/update.yml
@@ -0,0 +1,10 @@ +--- +- hosts: '{{ hosts }}' + serial: 1 + + vars_files: + - ~/.apigee/credentials.yml + + roles: + - apigee-opdk-cassandra-change-replication-factor + - apigee-opdk-cassandra-repair