Try with below task. The prompt option is a regex value to match the
expected terminal prompt after executing the command.
- name: save configuration to flash memory
eric_eccli_command:
commands:
- command: save configuration
prompt:
answer: 'y'
OR
- name: save con
Hi all- we're happy to announce that the general releases of Ansible
2.8.4, 2.7.13, and 2.6.19 are now available!
How do you get it?
--
$ pip install ansible==2.8.4 --user
or
$ pip install ansible==2.7.13 --user
or
$ pip install ansible==2.6.19 --user
The tar.gz of the releases
Hi
This particular script is part of the put_file operation for winrm [1]
which is executed like "PowerShell.exe -EncodedCommand ScriptB64".
Part of the put_file method is to read the bytes of the file to transfer
across and send it over the stdin pipe of the process under the WSMan Send
Actually if your example is literal and -a is on a newline then that's
probably your issue, it sounds like you wanted '>' not '|' to folder each
newline in your string but I still recommend the way above I posted.
--
You received this message because you are subscribed to the Google Groups
"An
Not sure why it is complaining here, maybe an invisble control character.
Anyway you are best off doing the following;
- name: Installing the license
raw: '"C:\Program Files\IBM\SQLLIB\BIN\db2licm" -a "{{ temp_area }}\{{
db2_lic_file }}"'
Raw in Windows is not truly raw as it is run in a Powe
On Thu, Aug 15, 2019 at 4:07 PM Bob Harold wrote:
>
> On Thu, Aug 15, 2019 at 12:08 PM Chris Jackson wrote:
>
>>
>> Hi all,
>>
>> Tearing my hair out trying to resolve this. I am getting the following:-
>>
>> "reason": "failed at splitting arguments, either an unbalanced jinja2
>> block or q
On Thu, Aug 15, 2019 at 12:08 PM Chris Jackson wrote:
>
> Hi all,
>
> Tearing my hair out trying to resolve this. I am getting the following:-
>
> "reason": "failed at splitting arguments, either an unbalanced jinja2
> block or quotes: C:\\'Program Files'\\IBM\\SQLLIB\\BIN\\db2licm -a\n{{
> t
Hi Folks,
I am now trying to understand how ansible module execution happens on a
Windows node. I've understood about the wrapper scripts and the json file
which contains everything, but cannot find the starting point of the below
code
begin {
$path =
'C:\Users\Administrator\AppData\Local\Tem
Hi Folks,
I am now trying to understand how ansible module execution happens on a
Windows node. I've understood about the wrapper scripts and the json file
which contains everything, but cannot find the starting point of the below
code
begin {
$path =
'C:\Users\Administrator\AppData\Local\Tem
Hi all,
Tearing my hair out trying to resolve this. I am getting the following:-
"reason": "failed at splitting arguments, either an unbalanced jinja2
block or quotes: C:\\'Program Files'\\IBM\\SQLLIB\\BIN\\db2licm -a\n{{
temp_area }}\\{{ db2_lic_file }}\n\nThe error appears to have been i
Thanks for replying, I guess I will add `notes:` section to zabbix
documentation fragment stating that using default Admin password is not
recommended and to expect weird output.
On Wednesday, August 14, 2019 at 2:55:41 PM UTC+2, Brian Coca wrote:
>
> if no_log could be bypassed and runtime, i
Hi all,
I am currently developing and checking out the eric_eccli module which has
been merged to the devel build not long ago.
I am using the newest Ansible devel build
I got now a failure of a task with, as it seems, a normal command:
- name: save configuration to flash memory
eric_eccli_comm
12 matches
Mail list logo