From 84949100f3889be6442466a413fea636e06359a7 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 6 Feb 2020 00:33:24 -0600 Subject: [PATCH] Remove cockpit role --- ec2.yml | 3 --- roles/cockpit/files/ansiblekey | 1 - roles/cockpit/meta/main.yml | 2 -- roles/cockpit/tasks/main.yml | 23 ----------------------- 4 files changed, 29 deletions(-) delete mode 120000 roles/cockpit/files/ansiblekey delete mode 100644 roles/cockpit/meta/main.yml delete mode 100644 roles/cockpit/tasks/main.yml diff --git a/ec2.yml b/ec2.yml index 59e80bf..a751708 100755 --- a/ec2.yml +++ b/ec2.yml @@ -28,6 +28,3 @@ nextcloud_webroot: "/var/www/nextcloud" roles: - nextcloud -- hosts: tag_role_cockpit - roles: - - cockpit diff --git a/roles/cockpit/files/ansiblekey b/roles/cockpit/files/ansiblekey deleted file mode 120000 index b82551f..0000000 --- a/roles/cockpit/files/ansiblekey +++ /dev/null @@ -1 +0,0 @@ -../../ansiblehost/files/ansiblekey \ No newline at end of file diff --git a/roles/cockpit/meta/main.yml b/roles/cockpit/meta/main.yml deleted file mode 100644 index d098f75..0000000 --- a/roles/cockpit/meta/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -allow_duplicates: no diff --git a/roles/cockpit/tasks/main.yml b/roles/cockpit/tasks/main.yml deleted file mode 100644 index e2ab99a..0000000 --- a/roles/cockpit/tasks/main.yml +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/ansible-playbook -# vim:ft=ansible: ---- -- name: Install Cockpit-required packages via apt - apt: - name: "{{ packages }}" - vars: - packages: - - cockpit - become: true -- name: Copy Ansible private key - copy: - src: "{{ role_path }}/files/ansiblekey" - dest: ~/.ssh/id_rsa - mode: 0600 - become: true - become_user: cockpit -- name: Add configs for all EC2 instances - # TODO: https://docs.ansible.com/ansible/latest/modules/template_module.html - debug: - msg: "{{ item }}" - with_inventory_hostnames: - - ec2