From: Matt Birkholz Date: Tue, 17 Sep 2024 19:38:13 +0000 (-0600) Subject: Munin nits: use one-line syntax for apt task, native group name. X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=11bb66f4d0b404902962426ff2ddf4a38cd77363;p=Network Munin nits: use one-line syntax for apt task, native group name. --- 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 }}"