diff options
Diffstat (limited to 'roles/fedora/tasks')
-rw-r--r-- | roles/fedora/tasks/main.yml | 2 | ||||
-rw-r--r-- | roles/fedora/tasks/sudo.yml | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/roles/fedora/tasks/main.yml b/roles/fedora/tasks/main.yml index de4c160..e3f69a3 100644 --- a/roles/fedora/tasks/main.yml +++ b/roles/fedora/tasks/main.yml @@ -22,5 +22,7 @@ tags: timesyncd - import_tasks: sshd.yml tags: sshd +- import_tasks: sudo.yml + tags: sudo # vim: set ts=2 sw=2 et: diff --git a/roles/fedora/tasks/sudo.yml b/roles/fedora/tasks/sudo.yml new file mode 100644 index 0000000..7125a4b --- /dev/null +++ b/roles/fedora/tasks/sudo.yml @@ -0,0 +1,11 @@ +--- +- name: Install sudoers file + copy: + dest: '/etc/sudoers' + src: sudoers + owner: root + group: root + mode: 0440 + validate: visudo -cf %s + +# vim: set ts=2 sw=2 et: |