Skip to content

Commit

Permalink
Don't install do-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
nikdoof committed Jul 13, 2021
1 parent 9c5964f commit 2830685
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
1 change: 1 addition & 0 deletions group_vars/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ common_packages:
remove_packages:
- cockpit
- cockpit-ws
- do-agent

certbot_certs_email: [email protected]

Expand Down
6 changes: 0 additions & 6 deletions roles/common/tasks/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
name: "{{ remove_packages }}"
state: absent

- name: Install Digital Ocean Agent
ansible.builtin.package:
name: do-agent
state: installed
when: ansible_system_vendor == 'DigitalOcean'

- name: Install VMware Tools
ansible.builtin.package:
name: open-vm-tools
Expand Down
12 changes: 0 additions & 12 deletions roles/common/tasks/repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,3 @@
ansible.builtin.package:
name: epel-release
state: present

- name: Add DO Agent repository
ansible.builtin.yum_repository:
file: digitalocean-agent
name: sonar
description: do agent
baseurl: https://repos.insights.digitalocean.com/yum/do-agent/$basearch
gpgcheck: true
gpgkey: https://repos.insights.digitalocean.com/sonar-agent.asc
enabled: true
state: present
when: ansible_system_vendor == 'DigitalOcean'

0 comments on commit 2830685

Please sign in to comment.