mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
reformat yaml
This commit is contained in:
parent
61f4278f6f
commit
5c7b7504ea
1 changed files with 12 additions and 3 deletions
|
|
@ -1,11 +1,20 @@
|
|||
---
|
||||
- name: Install sudo
|
||||
pacman: name=sudo state=present
|
||||
pacman:
|
||||
name: sudo
|
||||
state: present
|
||||
|
||||
- name: Add user to wheel group
|
||||
user: name={{ user.name }} groups=wheel append=yes
|
||||
user:
|
||||
name: "{{ user.name }}"
|
||||
groups: wheel
|
||||
append: yes
|
||||
tags:
|
||||
- user
|
||||
|
||||
- name: Copy sudo wheel group configuration
|
||||
template: src=sudo_wheel.j2 dest=/etc/sudoers.d/01_wheel mode=440 validate='visudo -cf %s'
|
||||
template:
|
||||
src: sudo_wheel.j2
|
||||
dest: /etc/sudoers.d/01_wheel
|
||||
mode: 440
|
||||
validate: 'visudo -cf %s'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue