psacct: Fixes for newer ansible

This commit is contained in:
Timo Makinen 2023-06-18 18:23:37 +00:00
parent 3a48849a29
commit ec5d54730d

View file

@ -13,10 +13,9 @@
when: ansible_system != "OpenBSD"
- name: Turn on accounting
ansible.builtin.shell: touch /var/account/acct && accton /var/account/acct
args:
ansible.builtin.shell:
cmd: touch /var/account/acct && accton /var/account/acct
creates: /var/account/acct
warn: false
when: ansible_system == "OpenBSD"
- name: Enable accounting service