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