another syntax

This commit is contained in:
Seth Vidal 2013-05-22 20:31:37 +00:00
parent dbee355ec7
commit e2e3c71bfb

View file

@ -16,11 +16,7 @@
- name: setup /etc/sudoers.d/sudoer file for client use - name: setup /etc/sudoers.d/sudoer file for client use
action: copy src=$item dest=/etc/sudoers.d/ owner=root group=root mode=0600 action: copy src=$item dest=/etc/sudoers.d/ owner=root group=root mode=0600
with_first_found: with_first_found:
- files: - files: $sudoers $private/files/sudo/${ansible_fqdn}-sudoers $private/files/sudo/${ansible_hostname}-sudoers $private/files/sudo/${ansible_domain}-sudoers
- $sudoers # - skip: false
- $private/files/sudo/${ansible_fqdn}-sudoers
- $private/files/sudo/${ansible_hostname}-sudoers
- $private/files/sudo/${ansible_domain}-sudoers
- skip: false
tags: tags:
- config - config