Just to follow up here was my full command.
/opt/wp/virtualenv/hegemon/bin/ansible --inventory /opt/wp/app/hegemon/
ansible/hosts.prod --user mozart --private-key /root/.ssh/keys/prod p-backup01
-m s3 -a "aws_access_key=****** aws_secret_key=******
bucket=wp_confluence_backup src=/backup/confluence mode=put"
So the bug is that the s3 module doesn't throw an error of missing args
like the file module does:
-m file
p-backup01 | FAILED >> {
"failed": true,
"msg": "missing required arguments: path"
}
Where as the s3 module does not.
Unfortunately even with the arguments that I pasted above I get the same
error as I would get without arguments.
p-backup01 | FAILED >> {
"failed": true,
"msg": "Traceback (most recent call last):\n File \"<stdin>\", line
132, in <module>\nNameError: name 'module' is not defined\n",
"parsed": false
}
Is this a problem on my end or should I include this in my bug report? (I'm
assuming that the s3 module is working for others ;)
--
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/3e3ceb4f-66c8-4a02-8c1f-d742471408e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.