On 21.06.2017 02:44, Michael Bushey wrote:
  - name: AWS Bucket get last SQL dunp
  hosts: localhost
  gather_facts: no
  connection: local
  vars:
    bucket: myuniquebucketname
  tasks:
    - name: AWS get bucket list
      s3:
        bucket: "{{ bucket }}"
        mode: list
      register: mysqldump_list
      tags: aws, bucket

    - debug: var="{{ mysqldump_list }}"

Wrong syntax.

var= take name of the variable not the content.

- debug: var=mysqldump_list

--
Kai Stian Olstad

--
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/65d76d0b2b56790a70685baecca2e826%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to