Remove cockpit role

This commit is contained in:
Salt 2020-02-06 00:33:24 -06:00
parent 129cc13848
commit 84949100f3
4 changed files with 0 additions and 29 deletions

View File

@ -28,6 +28,3 @@
nextcloud_webroot: "/var/www/nextcloud"
roles:
- nextcloud
- hosts: tag_role_cockpit
roles:
- cockpit

View File

@ -1 +0,0 @@
../../ansiblehost/files/ansiblekey

View File

@ -1,2 +0,0 @@
---
allow_duplicates: no

View File

@ -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