Commit f6b87f89 authored by nanahira's avatar nanahira

fix sudoers perm

parent fd4122d0
Pipeline #1420 passed with stage
in 3 minutes and 58 seconds
......@@ -8,6 +8,9 @@
copy:
dest: '/etc/sudoers.d/mycard_sudoers_{{ ansible_user_id }}'
content: '{{ ansible_user_id }} ALL=(ALL:ALL) NOPASSWD: ALL'
owner: root
group: root
mode: 0700
when: ansible_user_id != 'root'
- name: hostname
become: true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment