-
-
Notifications
You must be signed in to change notification settings - Fork 213
Boot time optimizations #61
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| - name: ensure services are stopped | ||
| community.general.snap: | ||
| name: amazon-ssm-agent | ||
| state: absent | ||
|
|
||
| - name: ensure services are stopped and disabled for first boot | ||
| systemd: | ||
| enabled: no | ||
| name: '{{ item }}' | ||
| state: stopped | ||
| with_items: | ||
| - snapd | ||
| - postgresql | ||
| - postgrest | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should this be
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added pgbouncer; this list is a superset of the things that might be enabled in the image
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (pgbouncer isn't enabled) |
||
| - pgbouncer | ||
| - fail2ban | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for
postgresql, correct me if I'm mistaken but I believe we would need it to have it started since we're running the.sqlscripts at boot (then restarting it)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah right, yeah
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going to leave it stopped per offline discussion; we can start it up once it's been configured, before the init scripts need to be run.