From f02288523b778cabfcdafef9fa7103d4ac5c799f Mon Sep 17 00:00:00 2001 From: pgrondek Date: Wed, 1 Jul 2020 13:45:11 +0200 Subject: [PATCH] Import into git --- .gitignore | 1 + ansible.cfg | 2 + localhost.yml | 6 +++ roles/docker/tasks/install-docker-io.yml | 7 +++ roles/docker/tasks/main.yml | 4 ++ roles/dwm/files/usr/share/icons/dwm.png | Bin 0 -> 178 bytes .../dwm/files/usr/share/xsessions/dwm.desktop | 7 +++ roles/dwm/tasks/dwm.yml | 41 ++++++++++++++++++ roles/dwm/tasks/main.yml | 4 ++ roles/dwm/tasks/setup.yml | 9 ++++ roles/dwm/vars/main.yml | 3 ++ roles/ubuntu/files/etc/default/motd-news | 19 ++++++++ roles/ubuntu/tasks/cleanup.yml | 16 +++++++ roles/ubuntu/tasks/main.yml | 4 ++ roles/ubuntu/tasks/timezone.yml | 6 +++ roles/ubuntu/vars/main.yml | 2 + 16 files changed, 131 insertions(+) create mode 100644 .gitignore create mode 100644 ansible.cfg create mode 100644 localhost.yml create mode 100644 roles/docker/tasks/install-docker-io.yml create mode 100644 roles/docker/tasks/main.yml create mode 100644 roles/dwm/files/usr/share/icons/dwm.png create mode 100644 roles/dwm/files/usr/share/xsessions/dwm.desktop create mode 100644 roles/dwm/tasks/dwm.yml create mode 100644 roles/dwm/tasks/main.yml create mode 100644 roles/dwm/tasks/setup.yml create mode 100644 roles/dwm/vars/main.yml create mode 100644 roles/ubuntu/files/etc/default/motd-news create mode 100644 roles/ubuntu/tasks/cleanup.yml create mode 100644 roles/ubuntu/tasks/main.yml create mode 100644 roles/ubuntu/tasks/timezone.yml create mode 100644 roles/ubuntu/vars/main.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..723ef36 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea \ No newline at end of file diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..36df4eb --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,2 @@ +[privilege_escalation] +become_ask_pass=True diff --git a/localhost.yml b/localhost.yml new file mode 100644 index 0000000..d5e128e --- /dev/null +++ b/localhost.yml @@ -0,0 +1,6 @@ +--- +- hosts: localhost + roles: + - dwm + - ubuntu + - docker diff --git a/roles/docker/tasks/install-docker-io.yml b/roles/docker/tasks/install-docker-io.yml new file mode 100644 index 0000000..ef51958 --- /dev/null +++ b/roles/docker/tasks/install-docker-io.yml @@ -0,0 +1,7 @@ +--- +- name: install needed packages + become: yes + apt: + update_cache: yes + pkg: + - docker.io diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml new file mode 100644 index 0000000..7eddbd9 --- /dev/null +++ b/roles/docker/tasks/main.yml @@ -0,0 +1,4 @@ +--- +- import_tasks: install-docker-io.yml + when: ansible_distribution == "Ubuntu" and ansible_distribution_version != "18.04" + diff --git a/roles/dwm/files/usr/share/icons/dwm.png b/roles/dwm/files/usr/share/icons/dwm.png new file mode 100644 index 0000000000000000000000000000000000000000..21603d2ba9c34726d1823556c597487b1c369db4 GIT binary patch literal 178 zcmeAS@N?(olHy`uVBq!ia0vp^3LrKIGm!j0ZH^w0QVj43aRt(Xf`Up)O2)>MC`^#UitG5=+ zao}T^npwZ7@(U}FR5-(X8jbx?0($}?kUHN)?$IT5wHEZT`hDPs-U<|#-QGJiI Ze$IPNxjWJ