$ ansible-config dump | grep -v default 

ANSIBLE_PIPELINING(/home/szelga/automation/ansible.cfg) = True 
DEFAULT_HOST_LIST(/home/szelga/automation/ansible.cfg) = 
['/home/szelga/automation/inventory_netbox.yml', 
'/home/szelga/automation/inventory_static.yml'
, '/home/szelga/automation/inventory_test.yml'] 
DEFAULT_REMOTE_USER(/home/szelga/automation/ansible.cfg) = root 
DEFAULT_STDOUT_CALLBACK(/home/szelga/automation/ansible.cfg) = actionable 
DEFAULT_VAULT_PASSWORD_FILE(/home/szelga/automation/ansible.cfg) = 
/home/szelga/automation/password.txt 
HOST_KEY_CHECKING(/home/szelga/automation/ansible.cfg) = False


воскресенье, 19 июня 2022 г. в 21:35:11 UTC+5, [email protected]: 

> What's the output of
>
>    ansible-config dump | grep -v default
>
> On Sunday, June 19, 2022 at 9:08:19 AM UTC-4 [email protected] wrote:
>
>> On 19/06/2022 14:08, High Raccoon wrote: 
>> > also, the hostname is altered. 
>> > 
>>
>> Try 
>>
>> hosts: "test1-host:test2-host" 
>>
>> Regards 
>> Racke 
>>
>> > воскресенье, 19 июня 2022 г. в 17:07:49 UTC+5, High Raccoon: 
>> > 
>> > it's a host, not a group. 
>> > 
>> > воскресенье, 19 июня 2022 г. в 02:49:01 UTC+5, [email protected]: 
>> > 
>> > Group names can't include dashes ('-') 
>> > 
>> > 
>> > 
>> > On Sat, 18 Jun 2022 at 17:44, High Raccoon <[email protected]> wrote: 
>> > 
>> > an extremely simple playbook: 
>> > ``` 
>> > --- 
>> > - hosts: 
>> >    - test-host 
>> >  tasks: 
>> >    - name: AAA 
>> >       ansible.builtin.debug: 
>> >        msg: AAA 
>> > ``` 
>> > 
>> > shows results like this: 
>> > ``` 
>> > [WARNING]: Invalid characters were found in group names but not 
>> replaced, use -vvvv to see details 
>> > 
>> > PLAY [test-host] 
>> **********************************************************************************************************************************************************
>>  
>>
>> > 
>> > PLAY RECAP 
>> ***************************************************************************************************************************************************************
>>  
>>
>> > test-host                   : ok=2    changed=0    unreachable=0   
>>  failed=0    skipped=0    rescued=0    ignored=0 
>> > ``` 
>> > 
>> > so the debug task is either ignored, or had its output suppressed. 
>> please, help me make sense of ansible's behavior and try to figure out 
>> which settings could have influenced it. 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "Ansible Project" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to [email protected]. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/2577e03f-d182-479f-92e1-60dc96526789n%40googlegroups.com
>>  
>> <
>> https://groups.google.com/d/msgid/ansible-project/2577e03f-d182-479f-92e1-60dc96526789n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>  
>>
>> > 
>> > -- 
>> > Sent from Gmail Mobile 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "Ansible Project" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to [email protected] <mailto:
>> [email protected]>. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/4316813d-307a-4ab9-8740-cf3322a269afn%40googlegroups.com
>>  
>> <
>> https://groups.google.com/d/msgid/ansible-project/4316813d-307a-4ab9-8740-cf3322a269afn%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>  
>>
>>
>>
>> -- 
>> Automation expert - Ansible and friends 
>> Linux administrator & Debian maintainer 
>> Perl Dancer & conference hopper 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/69c621fd-cb65-492f-9dd4-386cb5b54e3en%40googlegroups.com.

Reply via email to