Another approach using lineinfile
This commit is contained in:
parent
5cad48a1b7
commit
d7df8b7738
1 changed files with 3 additions and 2 deletions
|
@ -162,8 +162,9 @@
|
||||||
copy: src=fedmsg-genacls-config.py dest=/etc/fedmsg.d/genacls.py owner=root group=root mode=0644
|
copy: src=fedmsg-genacls-config.py dest=/etc/fedmsg.d/genacls.py owner=root group=root mode=0644
|
||||||
|
|
||||||
- name: List the users having a shell access
|
- name: List the users having a shell access
|
||||||
file: dest=/etc/gitolite/admins, owner=gen-acls, group=packager, mode=660, state=file
|
lineinfile: dest=/etc/gitolite/admins, owner=gen-acls, group=packager,
|
||||||
with_lines:
|
mode=660, state=present, line={{ item.line }}
|
||||||
|
with_items:
|
||||||
- /srv/web/infra/ansible/scripts/users-from-fas @sysadmin-main {{ root_auth_users }}
|
- /srv/web/infra/ansible/scripts/users-from-fas @sysadmin-main {{ root_auth_users }}
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue