Skip to content

Commit

Permalink
Merge pull request #60 from Cosmian/remove-supervisor
Browse files Browse the repository at this point in the history
Remove supervisor
  • Loading branch information
heavenboy8 authored Feb 7, 2024
2 parents df0d20b + 77c28f3 commit 7f34a5b
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions ansible/roles/cosmian_vm_agent/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,6 @@
group: root
mode: 0644

- name: Check if Supervisor is started
systemd:
name: supervisor
state: started
changed_when: false

- name: Supervisor install on RedHat
when: ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS' or ansible_distribution == 'Rocky'
block:
Expand Down Expand Up @@ -127,13 +121,6 @@
group: root
mode: 0644

- name: Check if Supervisor is started
systemd:
name: supervisord
enabled: true
state: started
changed_when: false

- name: Supervisor install on Amazon Linux
when: ansible_distribution == 'Amazon'
block:
Expand Down Expand Up @@ -182,20 +169,3 @@
owner: root
group: root
mode: 0500

- name: Service daemon reload
ansible.builtin.systemd_service:
daemon_reload: true

- name: Check if Supervisor is started
ansible.builtin.systemd_service:
name: supervisord
enabled: true
state: started
changed_when: false

- name: Reread Supervisor conf file
command: supervisorctl reread

- name: Update Supervisor process
command: supervisorctl update

0 comments on commit 7f34a5b

Please sign in to comment.