Each SSH connection throughout every playbook execution ends with Broken
Pipe error message mux_client_read_packet: read header failed: Broken pipe,
seen with verbose logging enabled. This doesn't cause the failure of a task
and the connection can still be seen to return a 0 exit code and the
Not so obvious to understand...
Perhaps you should try progressive steps and not wanting to do
everything in one unique step
To look for specific file, perhaps you should use the find module with a
register
And after loop on these files using the variable registered before...
Regards,
We use C# code in our code for a lot of things, in this case it's the
Ansible wrapper we use to abstract the communication to and from the
controller. Part of that process is to compile the C# code to a dll and
load that in PowerShell. This all happens in the background and is part of
I have not seen this error before, but what permissions are on
c:\Users\Adm\AppData\Local\Temp\ directory?
Do you get any more information if you run ansible with -vv option?
On Monday, February 24, 2020 at 9:16:46 AM UTC, Piyush Bansal wrote:
>
> Hello,
>
> I am running win_ping for
You can’t resolve variables with names that contain variables themselves.
Instead, use a lookup:
https://docs.ansible.com/ansible/latest/plugins/lookup/vars.html
Also try to use the args: chdir option instead of doing &&, see
https://docs.ansible.com/ansible/latest/modules/shell_module.html
Here's the output:
[root@test-server ~]#ansible-playbook test_manage_satellite_cv.yml -K
BECOME password:
PLAY [Automated Satellite6 content view publish and promote]
**
I have a playbook where I load a variable file
cat vars/BASE.yaml
EXCLUDE_front: value1
EXCLUDE_back: value2
I run my test.yml playbook using this command:
ansible-playbook test.yml -e Layer="back" -e base_folder="/tmp"
- name: Load a variable file"
include_vars:
file:
On Mon, 24 Feb 2020 05:06:55 -0800 (PST)
Sivaraman P wrote:
>- name: get variable
> shell: cat file #this file contain the list of items that I need to run
> the command
> register: out1
>
>- name: export
> shell: command {{item}}
> register: out2 #This contains
Amazing!! Thank you, I am looking at the code now. Let me see if I can
test it.
On Saturday, February 22, 2020 at 12:44:38 PM UTC-6, Felix Fontein wrote:
>
> Hi,
>
> > I am trying to specify O and CN
> >
> > authority_cert_issuer: 'dirName:O = Example Net, CN =
> >
On 2/24/20 3:31 PM, Karl Auer wrote:
> Hi. We need to know *specifically* what you are trying to do. Not generally.
>
> Create a minimal playbook that implements (or at least tries to implement)
> your goal. When you've got as far as you can,
> run it and postthe playbook and the output in full
Hi. We need to know *specifically* what you are trying to do. Not generally.
Create a minimal playbook that implements (or at least tries to implement)
your goal. When you've got as far as you can, run it and postthe playbook
and the output in full here.
In FULL.
Anything else is wasting your
Hey thanks for your comment regarding automation, it's very useful.
Might not make sense to you and that's the reason why I explained with
details - was to explain what I'm trying to achieve, what I'm trying but
without success and with expectations that someone could share more than
you had
On 2/24/20 2:58 PM, Sivaraman P wrote:
> Hi, I just want to
>
> Ex:
> hosts: dev
> tasks:
> - name: get variable
> shell: some command
> register: out1 # i want to use stdout_lines of these out1 in my next task
>
> - name: export
> shell: command {{item}}
>
On 2/24/20 2:00 PM, João Santos wrote:
> Hey community, need your help again...
>
> On my goal of automation I'm blocked on loops... dont know if I'm doing
> wrong, need to change approach or if just stupid...
>
You don't show no evidence of what are you trying to automate :-(.
At any rate it
Hi, I just want to
Ex:
hosts: dev
tasks:
- name: get variable
shell: some command
register: out1 # i want to use stdout_lines of these out1 in my next
task
- name: export
shell: command {{item}}
register: out2 # i want to use stdout kines of each item in my next
task
Hi Sivaraman
Could you please state clearly:
- What goal you are trying to achieve.
- How you are doing this.
- What problems you encounter.
- Which command did you run, and what actual output did you get from
that (copied as plain text - not as images, attachments, or
screenshots)
- What the
Thank you for your response. I just Showed it for example only... Actually
I am getting those keys from register variable(out1)
On Mon, 24 Feb 2020, 18:43 Stefan Hornburg (Racke),
wrote:
> On 2/24/20 2:06 PM, Sivaraman P wrote:
> > I have list of items to be executed in the command and I have
On 2/24/20 2:06 PM, Sivaraman P wrote:
> I have list of items to be executed in the command and I have to save the
> result in stdout for each item to the same item.
>
> Ex:
> hosts: dev
> tasks:
>- name: get variable
> shell: cat file #this file contain the list of items that I need
I have list of items to be executed in the command and I have to save the
result in stdout for each item to the same item.
Ex:
hosts: dev
tasks:
- name: get variable
shell: cat file #this file contain the list of items that I need to run
the command
register: out1
- name:
Hello,
I am running win_ping for windows 2008R2 64bit server from ansible 2.8.2 &
python version = 2.7.5. Below are connection parameters:
winrm
ssl
5986
ignore certificates
Admin user
Credentials are working fine and no issues.
While running this task I am getting following error. Never have
20 matches
Mail list logo