Remove cockpit role
This commit is contained in:
parent
129cc13848
commit
84949100f3
3
ec2.yml
3
ec2.yml
@ -28,6 +28,3 @@
|
|||||||
nextcloud_webroot: "/var/www/nextcloud"
|
nextcloud_webroot: "/var/www/nextcloud"
|
||||||
roles:
|
roles:
|
||||||
- nextcloud
|
- nextcloud
|
||||||
- hosts: tag_role_cockpit
|
|
||||||
roles:
|
|
||||||
- cockpit
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
../../ansiblehost/files/ansiblekey
|
|
@ -1,2 +0,0 @@
|
|||||||
---
|
|
||||||
allow_duplicates: no
|
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user