1) you may want to upgrade your versions of Ansible - and Python, for that matter.
2) if it is only happening on a single host, it makes me wonder if LVM is even installed on that host. - Rilindo > On Feb 12, 2022, at 10:08 PM, Sk Ashir uddin <[email protected]> wrote: > > Yes!!, it's worked on many env but gets this error while ansible tries to > gather facts on the host. > "line 1605, in get_lvm_facts\r\nIndexError: list index out of range" > > --ashir >> On Sunday, 13 February 2022 at 00:38:29 UTC+5:30 [email protected] wrote: >> Did this archeological setup work before? >> >> >>> On Sat, 12 Feb 2022 at 19:06, Sk Ashir uddin <[email protected]> wrote: >>> >>> The output of "ansible --version" >>> >>> ansible --version >>> ansible 2.4.0 (devel a06014663c) last updated 2017/04/18 12:36:51 (GMT +000) >>> config file = /opt/ansible/config/ansible.cfg >>> configured module search path = [u'/opt/ansible/library'] >>> ansible python module location = /opt/ansible/lib/ansible >>> executable location = /usr/local/bin/ansible >>> python version = 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4] >>>>> On Saturday, 12 February 2022 at 23:28:30 UTC+5:30 [email protected] >>>>> wrote: >>>>> On Sat, 12 Feb 2022 at 18:48, Sk Ashir uddin <[email protected]> wrote: >>>>> > >>>>> > I just try to run the ansible setup command I get this error, or I >>>>> > preciously can say this error " line 1605, in get_lvm_facts" and >>>>> > ansible version is 2.4.7. >>>>> >>>>> AFAIK there has never been a version 2.4.7. >>>>> Also that is not what I asked. >>>>> >>>>> > On Friday, 11 February 2022 at 20:01:16 UTC+5:30 [email protected] >>>>> > wrote: >>>>> >> >>>>> >> Can there be even less information in your message? >>>>> >> >>>>> >> I only see one huge line with an error. >>>>> >> I'm guessing you want to get rid of it. If so, then you should provide >>>>> >> much more information: >>>>> >> >>>>> >> - what you're trying to do >>>>> >> - playbook/inventory code >>>>> >> - output of "ansible --version" >>>>> >>>>> This is what I asked. >>>>> >>>>> So, please post the output of "ansible --version" >>>> >>> -- >> >>> 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/dbf31cc9-567f-4797-ab5d-b39face62d40n%40googlegroups.com. >> -- >> 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. > 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/82cc93b0-3497-46af-bc86-6b4f450d6254n%40googlegroups.com. -- 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/556B5E15-5310-4FDF-BD05-F16787D06B5D%40gmail.com.
