[ansible-project] Re: Need small help

2019-08-04 Thread Sandip Bhattacharya
Check your "dest" parameter value. From your scp command example, I think you want this to be "/tmp" - Sandip On Saturday, August 3, 2019 at 10:27:27 PM UTC-7, Bubunia Patra wrote: > > Hi all, > > I am having a issue with copy module copying from localhost to remote > server. The problem is

[ansible-project] Re: Need small help

2019-08-04 Thread Bubunia Patra
No even if the dest is /tmp the file is not visible in the remote server. On Sunday, August 4, 2019 at 2:32:03 PM UTC+5:30, Sandip Bhattacharya wrote: > > Check your "dest" parameter value. From your scp command example, I think > you want this to be "/tmp" > > - Sandip > > On Saturday, August

Re: [ansible-project] set, read, and use vars from csv or csv2yml file

2019-08-04 Thread Andrew Feller
Consider creating a custom vars plugin https://docs.ansible.com/ansible/latest/dev_guide/developing_plugins.html Sent from my iPhone > On Aug 4, 2019, at 10:13 AM, gerard moisset wrote: > > i'm trying to write playbook to downlaod packages from repo. > > here is my try. > > csv data >

[ansible-project] set, read, and use vars from csv or csv2yml file

2019-08-04 Thread gerard moisset
i'm trying to write playbook to downlaod packages from repo. here is my try. csv data === cat {{ansibleDir}}/temp/csv_data: module;goroco;repo tzdata-26d;G01R01C01;dnc ansible-26d;G00R00C00;dnc-unstable webadmi-26d;G01R01C02;dnc-unstable csv2yml file python script

[ansible-project] Ansible [Errno 13] Permission denied

2019-08-04 Thread Andrew Morgan
Hello All, Can I please get some help on this issue I have been trying to figure out for hours now. When I run the below command: I am trying to run the below command from my: Mac and connect to an amazon linux 2 server Mac has ansible 2.8.2 Mac has Python 2.7.10 Server has Python 2.6.9 My

Re: [ansible-project] ovirt_vm - HTTP response code is 404

2019-08-04 Thread Alexander Li
Hi Jonathan, Thanks for giving guide. I change the URL from https://172.16.11.65/ovirt-engine/api/ to https://172.16.11.65/ovirt-engine/api and it works. *Best Regards,* Alexander On Friday, August 2, 2019 at 7:06:39 PM UTC+7, Jonathan Lozada De La Matta wrote: > > everything looks good to

Re: [ansible-project] Re: Need small help

2019-08-04 Thread Sandip Bhattacharya
  > No even if the dest is /tmp the file is not visible in the remote server. > Run our command using “-v” or “—debug” to find out what is happening in that particular task. If you still cannot find out, share the output here. - Sandip -- You received this message because you are

Re: [ansible-project] Ansible [Errno 13] Permission denied

2019-08-04 Thread Sandip Bhattacharya
On August 4, 2019 at 3:06:25 PM, Andrew Morgan (alonsoamor...@gmail.com(mailto:alonsoamor...@gmail.com)) wrote: > More verbose output > > ansible all -vvv -i inventory -m command -a "/usr/sbin/useradd -s /bin/bash > -m test" --private-key="/Users/confluencetrades/Desktop/andrewm.pem" -u >

[ansible-project] Re: set, read, and use vars from csv or csv2yml file

2019-08-04 Thread Dan Linder
What is the exact error message you're getting? I only slightly agree with Mr. Fellers response ("create a custom vars plugin"), but in your case that might be overkill. I've seen teams that have a developer write some custom code that breaks soon after he/she leaves and then they are stuck

Re: [ansible-project] Re: set, read, and use vars from csv or csv2yml file

2019-08-04 Thread Andrew Feller
If you’re having to write Python code already, you’re most of the way to having a custom plugin. You’re simply doing it in a way that natively hooks into how Ansible works. Sent from my iPhone > On Aug 4, 2019, at 1:08 PM, Dan Linder wrote: > > What is the exact error message you're