[ansible-project] how to run one role out of a playbook host by host in serial one instead of linear or free

2020-03-13 Thread Jelle de Jong
Hello everybody, I got a role with a few tasks that do some calculations and writes down the results on a server, the next inventory_host will use the caclulations to make a new one, now if these tasks are run by multiple inventory_hosts at the same time (linear run) they do the calculation at

Re: [ansible-project] Creating a AWS VPC with IPv6 addresses

2020-03-13 Thread Karl Auer
I haven't tried this myself, but what happens if you just provide iPv6 addresses to the ec2_vpc_net module? The "initial /56" is just the CIDR block, I'd have thought, same as with IPv4. But as I say I have not tried this. Regards, K. On Sat, Mar 14, 2020 at 5:33 AM Ralf Weber wrote: > Moin!

[ansible-project] Warning while running an ansible ping against the windows hosts

2020-03-13 Thread Raj
Hello, I received an error earlier that my Ansible master unable to connect to windows hosts by throwing below error. msg": "winrm or requests is not installed: cannot import name UnrewindableBodyError" by running below command pip install --proxy=proxyserver:80 --ignore-installed

[ansible-project] Re: ansible windows

2020-03-13 Thread Jordan Borean
If you are wanting to play around with things there's no harm in it. If you are wanting to use it in production I would wait until some of the kinks are ironed out and 2.10 is officially released. That's not to say you can use it side by side and selectively try out various modules in the

[ansible-project] Re: ansible windows

2020-03-13 Thread Andrew Meyer
Would it be wise to wait for 2.10? On Friday, March 13, 2020 at 4:03:56 PM UTC-5, Jordan Borean wrote: > > I also forgot to mention that while some components may work in 2.9 this > collection will not be tested against this version and will officially be > designed to work with 2.10 onwards. >

[ansible-project] Re: ansible windows

2020-03-13 Thread Jordan Borean
I also forgot to mention that while some components may work in 2.9 this collection will not be tested against this version and will officially be designed to work with 2.10 onwards. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

[ansible-project] Re: ansible windows

2020-03-13 Thread Jordan Borean
That is because the ansible.windows collection because the current released versions at https://galaxy.ansible.com/ansible/windows are all beta versions. The ansible-galaxy cli tool does not use any pre-release versions in it's check and the only way to install it is to explicitly set the

[ansible-project] How mount the volume without changing the mount options

2020-03-13 Thread Suresh Karpurapu
we have the multiple nfs volumes which have different mount options. Hence, I don't want to change the mount options when we are doing the nfs volume migration. Can you please suggest if there any option to ignore to change existing mount options when we are mounting new volume with mount

[ansible-project] Creating a AWS VPC with IPv6 addresses

2020-03-13 Thread Ralf Weber
Moin! I wanted to use ansible to create a VPC with Amazon supplied IPv6 addresses. In the Console this is an option, when I create and VPC, but I could not find anything in ec2_vpc_net for that. When I use ec2_vpc_net_info I see the IPv6 association of the other VPCs I created manually, and

[ansible-project] ansible windows

2020-03-13 Thread Andrew Meyer
Getting the following error when trying to install the ansible windows collection. I am running Ansible 2.9.6 from pip3 on CentOS 8. $ ansible-galaxy collection install ansible.windows Process install dependency map ERROR! Cannot meet requirement * for dependency ansible.windows from source

Re: [ansible-project] Ansible password_hash issue

2020-03-13 Thread Bala Mutyam
Requested the feature - https://github.com/ansible/ansible/issues/68214 On Friday, March 13, 2020 at 3:31:12 PM UTC, Bala Mutyam wrote: > > I have changed the ident to 2A and it's working fine. > > command: psql -c "update users set crypted_password = '{{ admin_password | >

Re: [ansible-project] Ansible password_hash issue

2020-03-13 Thread Bala Mutyam
I have changed the ident to 2A and it's working fine. command: psql -c "update users set crypted_password = '{{ admin_password | password_hash('bcrypt', salt=None, rounds=10) }}' where login = 'admin'" sonarqube Thanks On Friday, March 13, 2020 at 11:58:44 AM UTC, Dick Visser wrote: > >

Re: [ansible-project] Ansible password_hash issue

2020-03-13 Thread Bala Mutyam
OS - Debian 10 PostgreSQL - 11.7 On Friday, March 13, 2020 at 12:01:47 PM UTC, Stefan Hornburg (Racke) wrote: > > On 3/13/20 12:38 PM, Bala Mutyam wrote: > > I've deleted the salt option altogether but tit didn't work. > > > > Yeah, it's the app which doesn't like 2b variant. > > > > Thanks

Re: [ansible-project] Ansible password_hash issue

2020-03-13 Thread Bala Mutyam
Ok,thanks. On Friday, March 13, 2020 at 11:58:44 AM UTC, Dick Visser wrote: > > Ansible's password_hash doesn't support setting the 'ident' option, > but if you want to test anyway, try editing passlib itself and change: > > default_ident = IDENT_2A > > into: > > default_ident = IDENT_2B >

[ansible-project] ansible-freeipa client install error

2020-03-13 Thread Andrew Meyer
I am trying to use the ansible-playbook to install the client on CentOS 8. I am getting the following error: TASK [ipaclient : Install - Check if one of password or keytabs are set]

Re: [ansible-project] Ansible password_hash issue

2020-03-13 Thread Stefan Hornburg (Racke)
On 3/13/20 12:38 PM, Bala Mutyam wrote: > I've deleted the salt option altogether but tit didn't work. > > Yeah, it's the app which doesn't like 2b variant. > > Thanks Hello Bala, according to Wikipedia $2b$ was introduced int February 2014. On which operating system / version do you run

Re: [ansible-project] Ansible password_hash issue

2020-03-13 Thread Dick Visser
Ansible's password_hash doesn't support setting the 'ident' option, but if you want to test anyway, try editing passlib itself and change: default_ident = IDENT_2A into: default_ident = IDENT_2B This should be in handlers/bcrypt.py If that does work for you, then you might want to submit a

Re: [ansible-project] Ansible password_hash issue

2020-03-13 Thread Bala Mutyam
I've deleted the salt option altogether but tit didn't work. Yeah, it's the app which doesn't like 2b variant. Thanks On Thursday, March 12, 2020 at 6:12:49 PM UTC, Dick Visser wrote: > > The hardcoded admin hash uses the 2a version of bcrypt. > It may be that your application cannot handle

Re: [ansible-project] rescue block does not print message despite being invoked

2020-03-13 Thread Vladimir Botka
On Thu, 12 Mar 2020 19:12:56 -0700 (PDT) Shifa Shaikh wrote: > - name: Print custom conditional debug message > fail: > msg: >- > {{ > command_result.rc == 0 | > ternary( > "This IP is already On-Boarded.", >

Re: [ansible-project] rescue block does not print message despite being invoked

2020-03-13 Thread Dick Visser
On Fri, 13 Mar 2020 at 04:19, Shifa Shaikh wrote: Missing parentheses where? > Right above the answer > -- Sent from a mobile device - please excuse the brevity, spelling and punctuation. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group.