diff --git a/tasks/configure.yml b/tasks/configure.yml index d22e97b..a99c1cf 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -1,16 +1,4 @@ --- -- name: Check if docker group exists - shell: grep docker /etc/groups - register: docker_group - -- name: Add nagios to docker group if it exists - user: - name: nagios - append: true - groups: - - docker - when: docker_group.rc == 0 - - name: Ensure folder for Nagios configurations exists file: path: /etc/nagios4/conf.d