From 11bb66f4d0b404902962426ff2ddf4a38cd77363 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Tue, 17 Sep 2024 13:38:13 -0600 Subject: [PATCH] Munin nits: use one-line syntax for apt task, native group name. --- README.org | 10 ++++------ roles_t/abbey-cloister/tasks/main.yml | 5 ++--- roles_t/abbey-core/tasks/main.yml | 5 ++--- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/README.org b/README.org index 88fc8b4..295b58d 100644 --- a/README.org +++ b/README.org @@ -1336,10 +1336,9 @@ trends in resource usage. - name: Install Munin. become: yes - apt: - pkg: munin + apt: pkg=munin -- name: Add {{ ansible_user }} to Munin group. +- name: Add {{ ansible_user }} to munin group. become: yes user: name: "{{ ansible_user }}" @@ -1695,10 +1694,9 @@ Each cloistered host is a Munin node. - name: Install Munin Node. become: yes - apt: - pkg: munin-node + apt: pkg=munin-node -- name: Add {{ ansible_user }} to Munin group. +- name: Add {{ ansible_user }} to munin group. become: yes user: name: "{{ ansible_user }}" diff --git a/roles_t/abbey-cloister/tasks/main.yml b/roles_t/abbey-cloister/tasks/main.yml index 1ae7fe4..6b499ee 100644 --- a/roles_t/abbey-cloister/tasks/main.yml +++ b/roles_t/abbey-cloister/tasks/main.yml @@ -27,10 +27,9 @@ - name: Install Munin Node. become: yes - apt: - pkg: munin-node + apt: pkg=munin-node -- name: Add {{ ansible_user }} to Munin group. +- name: Add {{ ansible_user }} to munin group. become: yes user: name: "{{ ansible_user }}" diff --git a/roles_t/abbey-core/tasks/main.yml b/roles_t/abbey-core/tasks/main.yml index a44eb88..ddd939e 100644 --- a/roles_t/abbey-core/tasks/main.yml +++ b/roles_t/abbey-core/tasks/main.yml @@ -208,10 +208,9 @@ - name: Install Munin. become: yes - apt: - pkg: munin + apt: pkg=munin -- name: Add {{ ansible_user }} to Munin group. +- name: Add {{ ansible_user }} to munin group. become: yes user: name: "{{ ansible_user }}" -- 2.25.1