Browse Source

update outputs

Chris Mague 4 years ago
parent
commit
e983d3d46e
2 changed files with 5 additions and 1 deletions
  1. 1 1
      ansible/nodes.yml
  2. 4 0
      main.tf

+ 1 - 1
ansible/nodes.yml

@@ -97,7 +97,7 @@
         state: directory
     - name: checkout redis git repo
       git:
-        repo: 'https://github.com/antirez/redis'
+        repo: 'https://github.com/redis/redis'
         dest: /home/redis/redis
   
     - name: redis - Build the default target

+ 4 - 0
main.tf

@@ -139,6 +139,10 @@ output "ansible2" {
   value = "Setup CP Redis Nodes\n\t\tansible-playbook -i inventories/inventory.ini  ansible/nodes.yml -e 'NODE_IPS=${join(",", module.nodes.node-internal-ips)}'"
 }
 
+output "cluster-setup" {
+  value = "To set up the cluster run /usr/local/bin/setup-raft-cluster from any one of the nodes"
+}
+
 output "cpredisnodes" {
   value = module.nodes.node-internal-ips
 }