Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] ansible: odd DEFAULT_MODULE_PATH
@ 2020-01-20  9:16 voidlinux-github
  2020-02-25 10:55 ` xtraeme
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: voidlinux-github @ 2020-01-20  9:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

New issue by jirib on void-packages repository

https://github.com/void-linux/void-packages/issues/18418

Description:
### System

* xuname:  
`Void 5.4.13_2 x86_64 GenuineIntel notuptodate rF`
* package:  
`ansible-2.9.2_2`

### Expected behavior

i expect DEFAULT_MODULE_PATH point to a system directory which has installed ansible plugins

### Actual behavior
```
# ansible --version
ansible 2.9.2
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.8/site-packages/ansible
  executable location = /sbin/ansible
  python version = 3.8.1 (default, Dec 23 2019, 13:11:45) [GCC 9.2.0]

# ls /usr/share/ansible/plugins/modules
ls: cannot access '/usr/share/ansible/plugins/modules': No such file or directory
```

### Steps to reproduce the behavior

```
ls $(ansible --version | sed -n '/search path/s/.*, '\''\(.*\)'\'']/\1/p')

```

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ansible: odd DEFAULT_MODULE_PATH
  2020-01-20  9:16 [ISSUE] ansible: odd DEFAULT_MODULE_PATH voidlinux-github
@ 2020-02-25 10:55 ` xtraeme
  2020-02-26 21:35 ` jirib
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: xtraeme @ 2020-02-25 10:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 173 bytes --]

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/issues/18418#issuecomment-590808371

Comment:
assigned to the pkg maintainer

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ansible: odd DEFAULT_MODULE_PATH
  2020-01-20  9:16 [ISSUE] ansible: odd DEFAULT_MODULE_PATH voidlinux-github
  2020-02-25 10:55 ` xtraeme
@ 2020-02-26 21:35 ` jirib
  2020-02-26 23:04 ` zdykstra
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jirib @ 2020-02-26 21:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 774 bytes --]

New comment by jirib on void-packages repository

https://github.com/void-linux/void-packages/issues/18418#issuecomment-591656048

Comment:
BTW I use ansible from pip now and it shows this:

```
$ ansible --version
ansible 2.9.4
  config file = /home/jiri/.ansible.cfg
  configured module search path = ['/home/jiri/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/jiri/.python3/lib/python3.8/site-packages/ansible
  executable location = /home/jiri/.python3/bin/ansible
  python version = 3.8.1 (default, Dec 23 2019, 13:11:45) [GCC 9.2.0]
```
My problem has started as problem with aws_ec2 inventory plugin which I could never make working with ansible from Void but it works fine with ansible from pip.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ansible: odd DEFAULT_MODULE_PATH
  2020-01-20  9:16 [ISSUE] ansible: odd DEFAULT_MODULE_PATH voidlinux-github
  2020-02-25 10:55 ` xtraeme
  2020-02-26 21:35 ` jirib
@ 2020-02-26 23:04 ` zdykstra
  2020-07-07 18:16 ` jirib
  2020-07-07 18:16 ` [ISSUE] [CLOSED] " jirib
  4 siblings, 0 replies; 6+ messages in thread
From: zdykstra @ 2020-02-26 23:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 713 bytes --]

New comment by zdykstra on void-packages repository

https://github.com/void-linux/void-packages/issues/18418#issuecomment-591689904

Comment:
Are you using [aws_ec2](https://docs.ansible.com/ansible/latest/plugins/inventory/aws_ec2.html) from upstream?  What specific errors do you get when running a playbook in -vvv mode with the xbps packaged Ansible ?

[Local modules](https://docs.ansible.com/ansible/latest/dev_guide/developing_locally.html#adding-a-module-locally) seems to indicate that this is an upstream default location, with nothing actually added there by default. On a Debian host (installed via pip) and an Ubuntu host (installed via upstream dpkgs), those directories don't exist by default. 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ansible: odd DEFAULT_MODULE_PATH
  2020-01-20  9:16 [ISSUE] ansible: odd DEFAULT_MODULE_PATH voidlinux-github
                   ` (2 preceding siblings ...)
  2020-02-26 23:04 ` zdykstra
@ 2020-07-07 18:16 ` jirib
  2020-07-07 18:16 ` [ISSUE] [CLOSED] " jirib
  4 siblings, 0 replies; 6+ messages in thread
From: jirib @ 2020-07-07 18:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

New comment by jirib on void-packages repository

https://github.com/void-linux/void-packages/issues/18418#issuecomment-655037880

Comment:
Sorry for delayed answer. I can't reproduce with ansible 2.9.10.

```
$ /usr/bin/ansible-inventory -i env/prod/ --list 2>&1 | jq '._meta.hostvars | ."10.72.4.110".placement'
{
  "availability_zone": "eu-west-3a",
  "group_name": "",
  "region": "eu-west-3",
  "tenancy": "default"
}
```

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ISSUE] [CLOSED] ansible: odd DEFAULT_MODULE_PATH
  2020-01-20  9:16 [ISSUE] ansible: odd DEFAULT_MODULE_PATH voidlinux-github
                   ` (3 preceding siblings ...)
  2020-07-07 18:16 ` jirib
@ 2020-07-07 18:16 ` jirib
  4 siblings, 0 replies; 6+ messages in thread
From: jirib @ 2020-07-07 18:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 995 bytes --]

Closed issue by jirib on void-packages repository

https://github.com/void-linux/void-packages/issues/18418

Description:
### System

* xuname:  
`Void 5.4.13_2 x86_64 GenuineIntel notuptodate rF`
* package:  
`ansible-2.9.2_2`

### Expected behavior

i expect DEFAULT_MODULE_PATH point to a system directory which has installed ansible plugins

### Actual behavior
```
# ansible --version
ansible 2.9.2
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.8/site-packages/ansible
  executable location = /sbin/ansible
  python version = 3.8.1 (default, Dec 23 2019, 13:11:45) [GCC 9.2.0]

# ls /usr/share/ansible/plugins/modules
ls: cannot access '/usr/share/ansible/plugins/modules': No such file or directory
```

### Steps to reproduce the behavior

```
ls $(ansible --version | sed -n '/search path/s/.*, '\''\(.*\)'\'']/\1/p')

```

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-07 18:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-20  9:16 [ISSUE] ansible: odd DEFAULT_MODULE_PATH voidlinux-github
2020-02-25 10:55 ` xtraeme
2020-02-26 21:35 ` jirib
2020-02-26 23:04 ` zdykstra
2020-07-07 18:16 ` jirib
2020-07-07 18:16 ` [ISSUE] [CLOSED] " jirib

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).