Based on the logs it seems you have not set the value of provider argument
in the task.
junos_scp module requires the provider key to be set. More details refer
the module documentation
https://docs.ansible.com/ansible/latest/modules/junos_scp_module.html
On Fri, May 17, 2019 at 4:38 PM Yan Sun
I am trying to get a playbook to run the open-scap scanner but I need those
results on the remote host to be copied over to a network share I am trying
something like this but getting "permission denied"
- name: find it
find:
path: /tmp/
patterns:
WARNING: The below traceback may *not* be related to the actual failure.
File "/tmp/ansible_junos_scp_payload_jlnsCA/__main__.py", line 165, in
main
device = connect(module)
File "/tmp/ansible_junos_scp_payload_jlnsCA/__main__.py", line 114, in
connect
device = Device(host, **kwargs)
WARNING: The below traceback may *not* be related to the actual failure.
File "/tmp/ansible_junos_scp_payload_jlnsCA/__main__.py", line 165, in
main
device = connect(module)
File "/tmp/ansible_junos_scp_payload_jlnsCA/__main__.py", line 114, in
connect
device = Device(host, **kwargs)
On Fri, May 17, 2019 at 10:36 AM Dan Linder wrote:
>
>
> Your second question:
>>
>> But when i run my script with module command or script or shell, the state
>> is changed but i'm not rassure if all task in my script is execut ...?
>
>
> When you use the `script:` module, anything that script
Hi,
I create new role for deploy services in cloud. My role requirement
role azure.azure_preview_modules, but can`t execute.
Not possible configuration with dependencies but execution role.
How is create requirement in role other role?
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
Your second question:
> But when i run my script with module command or script or shell, the state
> is changed but i'm not rassure if all task in my script is execut ...?
When you use the `script:` module, anything that script does on your remote
system is outside of the control of Ansible.
Hello-
Without all the info, this looks similar to something I ran into. Try:
pip3 install docker
This will install the docker Python module for the version of Python that
Ansible is using (3.6.7).
Better yet, have a task in your playbook install it prior to using the
docker Ansible module.
Hello all,
I have a question regarding proxy/requests. Can Ansible proxy its requests
through a single IP? So I can scale up the Ansible hosts and not have to
update all my firewall rules with new IP.
Regards
RG
--
You received this message because you are subscribed to the Google
Hi.. Kai!
Thank you so much your help!
after change my playbook like below, it is working successfully.
Have a nice weekend!
Kevin
root@ubuntu-Ansible:~# cat Host-Power_Off-01.yml
---
- name: Power Off to Host - TEST
*hosts: localhost*
tasks:
- name: Power OFF Server
ipmi_power:
On 5/17/19 10:54 AM, Pierre Ochsenbein wrote:
> Any feedback about my error?
>
The quotes are missing around vro03 when you execute it with Ansible.
BTW: Ansible 2.8. comes with a postgresql_query module.
Regards
Racke
>
>
> Le jeu. 16 mai 2019 à 16:47, Pierre Ochsenbein
Any feedback about my error?
Le jeu. 16 mai 2019 à 16:47, Pierre Ochsenbein
a écrit :
> Hi Guys
>
> I want to use a SQL query in PostgreSQL Database with ansible and a
> varibale which is call db_name.
> I have the result with my varibale.
> My problem is I don't know how interpret ' '
On 17.05.2019 07:15, James Armstrong wrote:
> Hey,
>
> I've been pulling my hair out over what seems like a relatively simple task
> for hours now.
>
> I've working on playbook for an Elasticsearch deployment. One requirement
> for this is a config file item that is effectively just a comma
On 17.05.2019 06:39, Kevin Kwon wrote:
> I am trying to power management by "impi_power"
>
> First, I had checked the "ipmitool" is working on Ansible-Controller like
> below.
>
> root@ubuntu-Ansible:~#
> root@ubuntu-Ansible:~# ipmitool -I lanplus -H 192.168.200.211 -U root -P
> password power
hi,
this is sarath, i have a group with 2 ips. i want to populate those 2 IPs
once by one in ansible content module. how can i do that.
i used {{ ansible_facts["eth0"]["ipv4"]["address"] }} but in the content
file i m getting only one ip not 2 ips in content module. can some one help
in this
Hey,
I want verify if my script is well execut and all task in my script is ok.
But when i run my script with module command or script or shell, the state
is changed but i'm not rassure if all task in my script is execut ...?
Do you understand ?
Thanks very much guy :)
Regards,
Le jeudi 16
Hi,
Please help to get this resolved, tried all most everything.
Ansible Version:
ansible 2.7.10
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/stack/.ansible/plugins/modules',
'/usr/share/ansible/plugins/modules']
ansible python module location =
17 matches
Mail list logo