Re: [ansible-devel] split FQDN

2019-10-26 Thread Tom Davison
Matti** sorry about the miss spelling On Sat, Oct 26, 2019 at 7:21 AM Tom Davison wrote: > Hi Matt, > > A solution like this should work for you: > >- name: "set new hostname fact" > set_fact: > my_host: "{{ inventory_hostname.split('.')[0] }}.{{ > inventory_hostname.split('.')

Re: [ansible-devel] split FQDN

2019-10-26 Thread Tom Davison
Hi Matt, A solution like this should work for you: - name: "set new hostname fact" set_fact: my_host: "{{ inventory_hostname.split('.')[0] }}.{{ inventory_hostname.split('.')[1] }}.{{ inventory_hostname,split('.')[-1] }}" On Sat, Oct 26, 2019 at 1:18 AM Matti Herrmann wrote: >

Re: [ansible-devel] using json as a password for docker_login module

2019-10-26 Thread 'Felix Fontein' via Ansible Development
Hi, > Luckily I found a code that caused this > behaviour: > https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/cloud/docker/docker_login.py#L318. > The "password" is of type "string". Then I changed "type='str'" to > "type='json'" in my local file and everything worked! that's no