From 9d08803a9e3bbd767abb3c3a87275ff79d3d7e31 Mon Sep 17 00:00:00 2001 From: Tobias Hachmer Date: Sun, 12 Nov 2017 11:30:44 +0100 Subject: [PATCH] Rename role server-repos to server-apt-repos - Role server-apt-repos: add readme --- playbooks/gateways.yml | 2 +- roles/server-apt-repos/README.md | 13 +++++++++++++ .../tasks/main.yml | 0 .../vars/main.yml | 0 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 roles/server-apt-repos/README.md rename roles/{server-repos => server-apt-repos}/tasks/main.yml (100%) rename roles/{server-repos => server-apt-repos}/vars/main.yml (100%) diff --git a/playbooks/gateways.yml b/playbooks/gateways.yml index 5152b5d..9e2e2da 100755 --- a/playbooks/gateways.yml +++ b/playbooks/gateways.yml @@ -5,7 +5,7 @@ roles: - handlers - prerequisites - - server-repos + - server-apt-repos - server-basic - system-sysctl-gateway - git-repos diff --git a/roles/server-apt-repos/README.md b/roles/server-apt-repos/README.md new file mode 100644 index 0000000..2a1e2f9 --- /dev/null +++ b/roles/server-apt-repos/README.md @@ -0,0 +1,13 @@ +# Ansible role server-apt-repos + +Diese Ansible role konfiguriert zusätzliche APT Repositories. + +- installiert Freifunk MWU Debian APT PGP Key +- konfiguriert APT Repositories aus der Liste `repos` + +## Benötigte Variablen + +- Liste `repos` (Rollen Variable) + - `name`: String == Name der Konfigurationsdatei unter /etc/apt/sources.list.d + - `repo`: String + - `update_cache`: yes|no diff --git a/roles/server-repos/tasks/main.yml b/roles/server-apt-repos/tasks/main.yml similarity index 100% rename from roles/server-repos/tasks/main.yml rename to roles/server-apt-repos/tasks/main.yml diff --git a/roles/server-repos/vars/main.yml b/roles/server-apt-repos/vars/main.yml similarity index 100% rename from roles/server-repos/vars/main.yml rename to roles/server-apt-repos/vars/main.yml