[ansible-project] Callback plugins works with ansible command?

2020-02-22 Thread Ansible Krazy
Hi Guys, We have been using customized callback plugin with playbooks ansile-playbooks command. I've been trying callback plugin to improve the output on screen with ansible command, however it is not working. Does callback plugin only works with ansible-playbooks or that's not the case?

[ansible-project] Connecting to a WinRM host with different credentials?

2020-02-22 Thread Dave York
I have a playbook in which I want to create a random password and use it later to connect to a windows box over WinRM I've generated a random password like this: - name: Generate a temporary random password for new host set_fact: randopass: "{{ lookup('password', '/dev/null

[ansible-project] Error message - "module_stderr": "/bin/sh: 1: powershell: not found\n", when running a powershell through win_command

2020-02-22 Thread Karthik Kumar
Iam trying to run the below simple playbook in ansible in windows 10 through ubuntu installed. But Iam getting error as "module_stderr": "/bin/sh: 1: powershell: not found\n", "module_stdout": Please let me know how to resolve this issue. - name: Run Powershell Scripts hosts: localhost

Re: [ansible-project] Issue with openssl_csr authority_cert_issuer

2020-02-22 Thread 'Felix Fontein' via Ansible Project
Hi, > I am trying to specify O and CN > > authority_cert_issuer: 'dirName:O = Example Net, CN = > example.net' > authority_key_identifier: > authority_cert_serial_number: x > > I get the following error on playbook run. > > "msg":

Re: [ansible-project] shell module failing for grep

2020-02-22 Thread Matt Zagrabelny
On Sat, Feb 22, 2020 at 3:03 AM Jean-Yves LENHOF wrote: > > Hi, > > Did you submit the shell command with the same user ? Thanks for the reply! You are correct. It was the user that I ran the command as that was the issue. For solving it, instead of: become: yes become_user: foo I opted for:

[ansible-project] Windows updates found but not installed

2020-02-22 Thread Andre Gronwald
hi, i tried to update some sql-servers with ansible (awx). overall it worked fine, but some updates (latest sql-server 2016 sp2 and .bnet-framework) werde detected referring to windows updsate logfile but not installed. whe installing those updates manually on some servers ifound further

Re: [ansible-project] shell module failing for grep

2020-02-22 Thread Jean-Yves LENHOF
Hi, Did you submit the shell command with the same user ? Regards, Le 21/02/2020 à 21:31, Matt Zagrabelny a écrit : Greetings, I'm running ansible 2.9 (2.9.4+dfsg-1) and I've searched the mailing list archives regarding this issue, but I haven't found out why I'm seeing what I am seeing.