Oh - yes.
I have a JFrog Artifactory server, and I want to use Ansible to upoload/PUT files into the repos that I have in Artifactory. - attempting to use the uri module:
I posted what I had below - I am missing something I am sure.
Am I going about this the wrong way? Thanks for any help you can offer. It's appreciated.
ansible-playbook -vv attemptul.yml
ansible-playbook 2.5.2
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/gmillard/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.15 (default, May 9 2018, 11:32:33) [GCC 7.3.1 20180130 (Red Hat 7.3.1-2)]
Using /etc/ansible/ansible.cfg as config file
PLAYBOOK: attemptul.yml ****************************************************************************************************************************************************************
1 plays in attemptul.yml
PLAY [download artifact] ***************************************************************************************************************************************************************
TASK [Gathering Facts] *****************************************************************************************************************************************************************
task path: /home/gmillard/myplatform/OtherStuff/attemptul.yml:2
ok: [fedoracontrol]
META: ran handlers
TASK [uri] *****************************************************************************************************************************************************************************
task path: /home/gmillard/myplatform/OtherStuff/attemptul.yml:5
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'NoneType' object has no attribute 'find'
fatal: [fedoracontrol]: FAILED! => {"changed": false, "content": "", "msg": "Status code was -1 and not [200]: An unknown error occurred: 'NoneType' object has no attribute 'find'", "redirected": false, "status": -1, "url": null}
to retry, use: --limit @/home/gmillard/myplatform/OtherStuff/attemptul.retry
PLAY RECAP *****************************************************************************************************************************************************************************
fedoracontrol : ok=1 changed=0 unreachable=0 failed=1