-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #620 from rust-lang/fix-dev-desktop-role
Fix the Ansible playbook for dev-desktops
- Loading branch information
Showing
5 changed files
with
33 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
# earlyoom kills processes using too much memory before they can cause trouble. | ||
- name: Install earlyoom | ||
ansible.builtin.apt: | ||
name: earlyoom | ||
state: present | ||
|
||
# The staging instance is so small that earlyoom prevents Ansible from executing | ||
# the playbook successfully. | ||
- name: Disable earlyoom on staging | ||
ansible.builtin.service: | ||
name: earlyoom | ||
enabled: no | ||
state: stopped | ||
when: ansible_hostname == "dev-desktop-staging" |