psacct: Fixes for newer ansible
This commit is contained in:
parent
3a48849a29
commit
ec5d54730d
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue