Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible with lxc-create failing #19

Closed
ngarafol opened this issue Jan 28, 2023 · 1 comment
Closed

ansible with lxc-create failing #19

ngarafol opened this issue Jan 28, 2023 · 1 comment

Comments

@ngarafol
Copy link

ngarafol commented Jan 28, 2023

I am having trouble getting lxc-create task working (roles/master/tasks/lxc.yaml:49)
With ansible 6.6.0 or newer version (current is 7.1.0) lxc-create task fails saying "logfile is not correct storage type" or something due to the fact that commands in lxc_container module get interpreted wrong and syntax for lxc-create command is wrong then.

source: ansible-collections/community.general#5578

Only solution I found was to lock ansible version to 6.5.0 in install_host_deps.sh

@rmeleromira do you use this still? Can anyone else relate or confirm this?

EDIT2: It is fixed in community.general 6.2.0 that is not yet bundled with ansible 7.1.0, so manual upgrade is needed:

# ansible-galaxy collection install community.general --upgrade

Closing because collection upgrade fixes issue with ansible >=6.6.0

@ngarafol
Copy link
Author

ngarafol commented Feb 2, 2023

Pypi ansible 7.2.0 released with community.general 6.3.0 bundled. No need for any workaround now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant