From 014c5d7c92f063d645d8b76ae050c4ffbad48dec Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Wed, 29 May 2019 00:12:49 +0200 Subject: [PATCH] roles/common: Removed credentials feature --- roles/common/tasks/credentials.yml | 23 ----------------------- roles/common/tasks/main.yml | 3 --- 2 files changed, 26 deletions(-) delete mode 100644 roles/common/tasks/credentials.yml diff --git a/roles/common/tasks/credentials.yml b/roles/common/tasks/credentials.yml deleted file mode 100644 index 05b70b7..0000000 --- a/roles/common/tasks/credentials.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- - -- name: Create group for access to ansible credentials - group: - name: ansible-credentials # TODO Export to variable - state: present - system: yes - -- name: Configure storage for ansible credentials - file: - path: "/etc/ansible-credentials" # TODO Export to variable - state: directory - owner: root - group: ansible-credentials - mode: 0770 - -- name: Allow access to ansible credentials - user: - append: yes - name: "{{ ansible_user }}" - groups: - - ansible-credentials - diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 8400df4..12aa62b 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -9,8 +9,5 @@ - name: Configure ufw include_tasks: ufw.yml -- name: Configure ansible credentials - include_tasks: credentials.yml - - name: Configure locales include_tasks: locales.yml