Hello guys,

I can use like:

  # >> Create the DNS load balancer to the instances
  - name: Creating DNS load balancer
    route53:
      command: create
      zone: "{{ domain }}"
      value: "{{ cluster }}-{{ item }}.{{ domain }}"
      alias: true
      alias_hosted_zone_id: "KLAIUDIAUHSINUD"
      identifier: "{{ cluster }}-{{ item }}"
      record: "{{ cluster }}.{{ domain }}"
      type: A
      overwrite: yes
      wait: yes
      weight: 10
    with_sequence: start={{ cluster_start }} end={{ cluster_end }} format=%
02x



But If i try to use alias_hosted_zone_id with a variable like:

      alias_hosted_zone_id: "{{ hosted_zone_id }}"



I get:

"msg": ""[]" is not a valid hosted zone id. is not a valid 
encrypted identifier"

help!!

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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/21b6d2da-f8da-47d1-993e-335367433359%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to