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 timers should not run on USB stick #21

Open
Debilski opened this issue Aug 13, 2024 · 4 comments
Open

Ansible timers should not run on USB stick #21

Debilski opened this issue Aug 13, 2024 · 4 comments

Comments

@Debilski
Copy link
Member

Otherwise the stick changes while it is being copied. (Although the whole mechanism seems messy. Can we boot the USB stick in a read-only way?)
Either doinst enables the timers on the target manually or we add a ConditionPathExists and check for a file that doinst creates to enable it or something like a negated ConditionHost and we have to set the specific hostname of the machine.

@Debilski
Copy link
Member Author

Debilski commented Aug 14, 2024

I disabled the timers in df88241 (and currently anything other than running the all.yml playbook will disable them again though this probably should be changed)

For now the timers or services must be manually started on the new image, after doinst has copied the image.

@otizonaizit
Copy link
Member

how do we enable the timers manually? Can you post here the needed command?

@Debilski
Copy link
Member Author

Debilski commented Aug 24, 2024 via email

@Debilski
Copy link
Member Author

Debilski commented Aug 24, 2024 via email

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

2 participants