Try this tack
This commit is contained in:
parent
9b8cbe9780
commit
9af221956a
2 changed files with 3 additions and 1 deletions
|
@ -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 is not defined
|
when: sudoers-main == 'passwd'
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
#
|
#
|
||||||
|
|
|
@ -33,3 +33,5 @@ global_pkgs_inst: ['bind-utils', 'mailx', 'nc', 'openssh-clients',
|
||||||
netapp_iscsi_name: iqn.1992-08.com.netapp:sn.1573980081:vf.6fb258f4-106f-11e2-ae29-00a098161d90
|
netapp_iscsi_name: iqn.1992-08.com.netapp:sn.1573980081:vf.6fb258f4-106f-11e2-ae29-00a098161d90
|
||||||
# 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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue