backup01: grokmirror: make ansible make a local user

By default ansible is seeing the ldap 'grokmirror' user and not making a
local one. This makes the grokmirror cron job fail because the ldap
grokmirror user is locked. So, lets make a local one so cron works.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-03-06 17:28:10 -08:00
parent 4c378b075a
commit 4ff29f22d0
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
- grokmirror-mirror
- name: create grokmirror user to own mirrored file and run scripts
user: name=grokmirror
user: name=grokmirror local=true
- name: create directory to mirror repos to
file: dest={{grokmirror_topdir}} mode=0755 state=directory owner=grokmirror