Hi,
I've created https://github.com/ansible/ansible/pull/38779
Can someone help to find out why the initial sanity checks failed on
shippable?
Best regards,
Marcin
--
You received this message because you are subscribed to the Google Groups
"Ansible Development" group.
To unsubscribe from th
I've corrected the errors.
The pull is ready for review.
Best regards,
Marcin
On Saturday, April 14, 2018 at 2:09:54 PM UTC+2, marcindulak wrote:
>
> Hi,
>
> I've created https://github.com/ansible/ansible/pull/38779
> Can someone help to find out why the initia
- hosts: localhost
tasks:
- name: fact command
set_fact:
fact_command: echo "ps -ef|grep data"|sed 's~[^[:alnum:]/]\+~~g'|sed
"s/$/$(date
+"%d_%m_%Y_%H_%M_%S")/"
- name: run command
shell: "{{ fact_command }}"
ansible-playbook test.yml -v
Using /etc/ansible/ansible.cfg a
18 at 4:12:43 AM UTC+2, Akash Agarwal wrote:
>
> Thanks!
>
> Is it possible to run a list of commands using this. I was able to read
> the commands from a file; paas it to a custom bash module and execute it.
> Which is the better way ?
>
> Thanks,
> Akash
>
> On Mon, 16 Ap
This is ansible-devel forum, please post usage questions
at https://groups.google.com/forum/#!forum/ansible-project
Marcin
On Thursday, April 19, 2018 at 10:03:59 AM UTC+2, radha gupta wrote:
>
> Hello Guys,
>
>
> Can you please help me on how can we pass the value of a variables form
> one pla
Hi,
can someone review? The needs_triage flag has been removed.
https://github.com/ansible/ansible/pull/38779
Marcin
On Saturday, April 14, 2018 at 2:45:37 PM UTC+2, marcindulak wrote:
>
> I've corrected the errors.
> The pull is ready for review.
>
> Best regards,
>
&
Since you are saving to a file, maybe just save the output directly.
- hosts: localhost
tasks:
- name: Clear the file
shell: "echo > info.txt"
- name: Capture some information about a host
shell: "echo shell: '{{ item }}' >> info.txt 2>&1 && {{ item }} >>
info.txt 2>&1"