Add ansible-core to python3-packages #23
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Sysdeploy/openwrt#23
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "lee.miller/openwrt:python"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi!
ansible-pull is part of the ansible-core package. I added it to python3-packages list.
@ -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
I think the syntax/escaping is incorrect as now not only is ansible-core absent, cherrypy vanished too.
oops
Well, I've seen this error before. It looks like the pip package requires glibc:
I'll try to compose a Makefile.
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.
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.39bb5e5238
to80c93b67e5
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@
andhttps://
URLs.f1587fded7
tob6d0836467
b6d0836467
toe67ea6003b
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.
I added GitPython. It should help.
e67ea6003b
to42d0777d6b
This isn't needed anymore, I'll use a push method instead.
Pull request closed