Add ansible-core to python3-packages #23

Closed
lee.miller wants to merge 0 commits from lee.miller/openwrt:python into main
Collaborator

Hi!

ansible-pull is part of the ansible-core package. I added it to python3-packages list.

Hi! ansible-pull is part of the ansible-core package. I added it to python3-packages list.
lee.miller added 1 commit 2023-02-18 12:34:28 +00:00
PeterSurda requested changes 2023-02-21 03:52:14 +00:00
@ -25,3 +25,3 @@
make defconfig
echo 'CONFIG_PACKAGE_python3-packages=y' >> .config
echo 'CONFIG_PACKAGE_python3-packages-list="CherryPy==18.8.0"' >> .config
echo 'CONFIG_PACKAGE_python3-packages-list="CherryPy==18.8.0 ansible-core==2.14.2"' >> .config
Owner

I think the syntax/escaping is incorrect as now not only is ansible-core absent, cherrypy vanished too.

I think the syntax/escaping is incorrect as now not only is ansible-core absent, cherrypy vanished too.
Author
Collaborator

oops

oops
Author
Collaborator

Well, I've seen this error before. It looks like the pip package requires glibc:

Package python3-packages is missing dependencies for the following libraries:
libc.so.6
libpthread.so.0

I'll try to compose a Makefile.

Well, I've seen this error before. It looks like the pip package requires glibc: ``` Package python3-packages is missing dependencies for the following libraries: libc.so.6 libpthread.so.0 ``` I'll try to compose a Makefile.
Owner

Maybe we can try to use https://github.com/gekmihesg/ansible-openwrt instead of full ansible and then wrap it into a script that does git pull?

Maybe we can try to use https://github.com/gekmihesg/ansible-openwrt instead of full ansible and then wrap it into a script that does `git pull`?
Author
Collaborator

Maybe we can try to use https://github.com/gekmihesg/ansible-openwrt instead of full ansible and then wrap it into a script that does git pull?

I started learning a situation with the Ansible on OpenWrt with that repo. It seems to target a controlling host, not the openwrt one. That's why I asked if you want the Ansible on the rpi.

The ansible-core package is building. I just need to add a couple of dependencies.

> Maybe we can try to use https://github.com/gekmihesg/ansible-openwrt instead of full ansible and then wrap it into a script that does `git pull`? I started learning a situation with the Ansible on OpenWrt with that repo. It seems to target a controlling host, not the openwrt one. That's why I asked if you want the Ansible on the rpi. The ansible-core package is building. I just need to add a couple of dependencies.
Owner

Maybe we can try to use https://github.com/gekmihesg/ansible-openwrt instead of full ansible and then wrap it into a script that does git pull?

I started learning a situation with the Ansible on OpenWrt with that repo. It seems to target a controlling host, not the openwrt one. That's why I asked if you want the Ansible on the rpi.

The ansible-core package is building. I just need to add a couple of dependencies.

Ok I understand.

> > Maybe we can try to use https://github.com/gekmihesg/ansible-openwrt instead of full ansible and then wrap it into a script that does `git pull`? > > I started learning a situation with the Ansible on OpenWrt with that repo. It seems to target a controlling host, not the openwrt one. That's why I asked if you want the Ansible on the rpi. > > The ansible-core package is building. I just need to add a couple of dependencies. Ok I understand.
Owner

I wouldn't mind just having the target software installed, but the problem is, the machine may not be reachable from the outside via ssh before wireguard is provisioned and I may be stuck without to run anything remotely, on a freshly installed machine.

I could provision wireguard manually thought first before deploying the machines. Then, I'll be able to login and could run the ansible playbook remotely and in such case the lightweight version may be enough. So if you're having problems with full ansible or if it takes too long to setup, I can live with just the ansible-openwrt for now.

I wouldn't mind just having the target software installed, but the problem is, the machine may not be reachable from the outside via ssh before wireguard is provisioned and I may be stuck without to run anything remotely, on a freshly installed machine. I could provision wireguard manually thought first before deploying the machines. Then, I'll be able to login and could run the ansible playbook remotely and in such case the lightweight version may be enough. So if you're having problems with full ansible or if it takes too long to setup, I can live with just the `ansible-openwrt` for now.
lee.miller force-pushed python from 39bb5e5238 to 80c93b67e5 2023-02-22 01:47:52 +00:00 Compare
lee.miller added 3 commits 2023-02-22 04:59:28 +00:00
Owner

Ok it's a step further now. Both ansible and cherrypy are installed but I'm getting an error running openwrt.

ERROR! module 'git' not found.

I tried both git@ and https:// URLs.

Ok it's a step further now. Both ansible and cherrypy are installed but I'm getting an error running openwrt. ```ERROR! module 'git' not found.``` I tried both `git@` and `https://` URLs.
lee.miller force-pushed python from f1587fded7 to b6d0836467 2023-02-23 00:41:18 +00:00 Compare
lee.miller force-pushed python from b6d0836467 to e67ea6003b 2023-02-23 04:17:37 +00:00 Compare
Owner

This looks like too much work, maybe then get rid of this, I'll use ansible in a push mode instead and try to automate initial wireguard provisioning.

This looks like too much work, maybe then get rid of this, I'll use ansible in a push mode instead and try to automate initial wireguard provisioning.
Author
Collaborator

Ok it's a step further now. Both ansible and cherrypy are installed but I'm getting an error running openwrt.

ERROR! module 'git' not found.

I tried both git@ and https:// URLs.

I added GitPython. It should help.

> Ok it's a step further now. Both ansible and cherrypy are installed but I'm getting an error running openwrt. > > ```ERROR! module 'git' not found.``` > > I tried both `git@` and `https://` URLs. I [added GitPython](https://buildbot.bitmessage.org/#/builders/33/builds/15678/steps/3/logs/stdio). It should help.
lee.miller force-pushed python from e67ea6003b to 42d0777d6b 2023-02-23 15:53:37 +00:00 Compare
Owner

This isn't needed anymore, I'll use a push method instead.

This isn't needed anymore, I'll use a push method instead.
PeterSurda closed this pull request 2023-02-24 00:00:15 +00:00
All checks were successful
buildbot/multibuild_parent Build done.
Required
Details
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sysdeploy/openwrt#23
No description provided.