Skip to content

Commit

Permalink
Adding KEEP_STACK=true to keep contains around for debugging (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
alabdao committed Oct 20, 2023
1 parent 8434a79 commit 4839f2a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions infrastructure/ansible/files/compute.service
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Description=Bacalhau

[Service]
Environment="KEEP_STACK=true"
Restart=on-failure
RestartSec=5s
User=ubuntu
Expand Down
13 changes: 13 additions & 0 deletions infrastructure/ansible/tasks/common_tasks.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
- name: "Gather service facts"
become: true
ansible.builtin.service_facts:

- name: "Disable unattended upgrades service"
become: true
ansible.builtin.systemd:
name: "unattended-upgrades.service"
enabled: false
masked: true
state: "stopped"
when: ansible_facts.services["unattended-upgrades.service"] is defined

- name: "Remove unattended upgrades"
become: true
ansible.builtin.package:
Expand Down

0 comments on commit 4839f2a

Please sign in to comment.