I want to hide the result message of with_sequence
-
*My task playbook : *
- name: Alarm check debug: msg="Alarm check" when: '"{{ item }} alarms
Missing parentheses where?
My code is very similar to a working sample here:
fail:
msg: >-
{{
command_result.stdout is search('775') |
ternary(
"This REQ is already Deployed. ,
"Database is
On Thu, Mar 12, 2020, at 10:12 PM, Shifa Shaikh wrote:
> Hi,
>
> I have a playbook with a task that greps for a string in a file. If the
> string is found the block should fail which is the case. However, in
> the fail module it fails to print the message.
>
> Here is my playbook:
>
>
Hi,
I have a playbook with a task that greps for a string in a file. If the
string is found the block should fail which is the case. However, in the
fail module it fails to print the message.
Here is my playbook:
Here is my playbook:
---
- name: "Play 1"
hosts: localhost
tasks:
-
I was able to resolve this finding the below thread. In my case I had to
alter the config slightly to the below. This was to merge the text together
no space and eliminate "_lines"
- name: print result
debug:
var: output1.stdout_lines
- name: copy output to file
Anyone have any thoughts on this?
On Thursday, March 12, 2020 at 10:51:25 AM UTC-4, RayO wrote:
>
> Hi Stefan,
>
> Thanks for the reply. Unfortunately though it doesn't look like that
> worked. I replaced the below line with the entry you provided but it's
> still printing in a bad format
>
>
The hardcoded admin hash uses the 2a version of bcrypt.
It may be that your application cannot handle the newer 2b variant of
bcrypt - which ansible creates.
But this sounds unlikely.
Can you try to create a password with ansible using a salt (so leaving
the "salt=None" out) ?
Dick
On Thu, 12
Hi Lujaina,
Were you able to get this working I'm currently working on a project trying
to get this working exactly in the same setup as your post.
On Thursday, January 2, 2020 at 9:46:16 AM UTC-5, Lujaina Abu Erban wrote:
>
> Thank you for the response,
> But unfortunately, this also did not
Hi,
I've tried the rounds but no luck,still not able to login to UI.
About the salt option, it's Sonarqube application which doesn't use salt.
This is the command used on Sonarqube doc -
https://docs.sonarqube.org/latest/instance-administration/security/
update users set crypted_password =
Hi Stefan,
Thanks for the reply. Unfortunately though it doesn't look like that
worked. I replaced the below line with the entry you provided but it's
still printing in a bad format
copy: content="{{ output1.stdout_lines | join('\n') }}"
Any other ideas?
On Thursday, March 12, 2020 at
On 3/12/20 2:52 PM, RayO wrote:
> Hi. I have a very basic cisco IOS playbook i'm working on and when I log the
> output to a file I cannot read the format.
> I read a few threads that mention enabling a callback option in the
> ansible.cfg but that does not seem to work. Does
> anyone know how I
Hi. I have a very basic cisco IOS playbook i'm working on and when I log
the output to a file I cannot read the format. I read a few threads that
mention enabling a callback option in the ansible.cfg but that does not
seem to work. Does anyone know how I can accomplish logging to a readable
Hi
Your hardcoded hash (the one "UI login only works") appears to use 10
rounds, while the hash generated by password_hash uses 12 (the
default).
Based on the docs at
https://passlib.readthedocs.io/en/stable/lib/passlib.hash.bcrypt.html#interface
you should be able to configure that as an
hi
it's pretty obvious from the error, with exact file and line number etc:
On Thu, 12 Mar 2020 at 11:15, wrote:
> [WARNING]: * Failed to parse /etc/ansible/hosts with yaml plugin: Syntax
> Error
>
> while loading YAML. did not find expected The error
> appears
>
> to be in
Hi,
I manged to run the task successfully but i'm not able to login with the
password to Sonarqube UI.
ansible 2.7.7
config file = /etc/ansible/ansible.cfg
configured module search path = ['/root/.ansible/plugins/modules',
'/usr/share/ansible/plugins/modules']
ansible python module
I change hosts, but still error connect.
�
[test]
192.168.1.120
�
[vars]
ansible_user=sandy
ansible_sudo_pass=''
�
ansible 2.9.6
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/sandy/.ansible/plugins/modules',
Thank you, Felix, will explore.
On Wed, Mar 11, 2020 at 6:03 AM 'Felix Fontein' via Ansible Project <
ansible-project@googlegroups.com> wrote:
> Hi,
>
> you should be able to use the docker_host_info module to find out the
> dcker daemon version. Check out its host_info return value
> (
>
You manually use sudo but the in your playbook you use su?
Please read again carefully
https://docs.ansible.com/ansible/latest/user_guide/become.html
On Thu, 12 Mar 2020 at 06:02, Suresh R wrote:
> i have command sudo su - is working fine when we do ssh to the server.
> BTW we were unable to
18 matches
Mail list logo