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('.')
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:
>
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