need help with this really
cant move on with infrastructure
pls help
On Monday, October 17, 2016 at 7:13:48 PM UTC+3, Yosef Yudilevich wrote:
>
> hi , how do i address CB.C1.COUNTER in CB.C1.BUCKETS_DICT
>
> vars file:
>
> CB:
> C1:
> COUNT: 4
> BUCKETS_DICT:
> - { bucket_name: "Test", bucket_type: 'couchbase', bucket_port:
> '11211', bucket_ram_quota: "{{ ( 800 / CB.C1['COUNT'] ) | int }}" }
>
>
>
> task:
>
> - name: create buckets
> run_once: true
> shell: "/opt/couchbase/bin/couchbase-cli bucket-create -c
> 127.0.0.1:8091 --bucket={{ item.bucket_name }} --bucket-type={{
> item.bucket_type }} --bucket-port={{ item.bucket_port }}
> --bucket-ramsize={{ item.bucket_ram_quota }} -u {{ admin_user }} -p {{
> admin_password }}"
> with_items: "{{ CB.C1.BUCKETS_DICT }}"
>
>
> thanks
>
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f3d21b7e-b547-4fe9-9b7f-bcd536542add%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.