diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2020-02-27 18:26:55 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2020-02-27 18:26:58 +0100 |
commit | 7e26fd1d0b1dc8ecea10bfacd96cf4e48236121b (patch) | |
tree | c71c223cbe6e920202cc7ff06bd6f15461637557 /roles/fedora/tasks | |
parent | 323970b81737fba4ce5fd7503255dc9e59440cac (diff) | |
download | labitat-ansible-7e26fd1d0b1dc8ecea10bfacd96cf4e48236121b.tar.gz labitat-ansible-7e26fd1d0b1dc8ecea10bfacd96cf4e48236121b.tar.xz labitat-ansible-7e26fd1d0b1dc8ecea10bfacd96cf4e48236121b.zip |
space_server: move sudo tasks to fedora role
..to align with debian role
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: |