Variable headache

This commit is contained in:
Kevin Fenzi 2014-02-28 20:49:10 +00:00
parent 9af221956a
commit 3c4dc7fdbe
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@
# #
- name: setup /etc/sudoers.d/sysadmin-main - name: setup /etc/sudoers.d/sysadmin-main
copy: src="{{ private }}/files/sudo/sysadmin-main" dest=/etc/sudoers.d/ owner=root group=root mode=0600 copy: src="{{ private }}/files/sudo/sysadmin-main" dest=/etc/sudoers.d/ owner=root group=root mode=0600
when: sudoers-main == 'passwd' when: sudoers-main == "passwd"
tags: tags:
- config - config
# #
@ -16,7 +16,7 @@
# #
- name: setup /etc/sudoers.d/sysadmin-main (nopasswd) - name: setup /etc/sudoers.d/sysadmin-main (nopasswd)
copy: src="{{ private }}/files/sudo/sysadmin-main-nopasswd" dest=/etc/sudoers.d/ owner=root group=root mode=0600 copy: src="{{ private }}/files/sudo/sysadmin-main-nopasswd" dest=/etc/sudoers.d/ owner=root group=root mode=0600
when: sudoers-main == 'nopasswd' when: sudoers-main == "nopasswd"
tags: tags:
- config - config
# #

View file

@ -34,4 +34,4 @@ netapp_iscsi_name: iqn.1992-08.com.netapp:sn.1573980081:vf.6fb258f4-106f-11e2-ae
# iscsi portal for netapp iscsi volume # iscsi portal for netapp iscsi volume
netapp_iscsi_portal: 10.5.88.35 netapp_iscsi_portal: 10.5.88.35
# #
sudoers-main: "passwd" sudoers-main: passwd