spell and whitespaces
This commit is contained in:
parent
0a1068bf8e
commit
5f6c6cd213
@ -4,13 +4,11 @@
|
|||||||
update_cache: yes
|
update_cache: yes
|
||||||
upgrade: yes
|
upgrade: yes
|
||||||
|
|
||||||
- name: Install zsh
|
- name: Install base packages
|
||||||
pacman:
|
pacman:
|
||||||
name: zsh
|
name: "{{ item }}"
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Install vim
|
|
||||||
pacman:
|
|
||||||
name: vim
|
|
||||||
state: present
|
state: present
|
||||||
|
with_items:
|
||||||
|
- zsh
|
||||||
|
- vim
|
||||||
|
|
||||||
|
@ -5,19 +5,19 @@
|
|||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Configure sudoers
|
- name: Configure sudoers
|
||||||
template:
|
template:
|
||||||
src: files/sudoers
|
src: files/sudoers
|
||||||
dest: /etc/sudoers
|
dest: /etc/sudoers
|
||||||
mode: 0440
|
mode: 0440
|
||||||
|
|
||||||
- name: Create sudo group
|
- name: Create sudo group
|
||||||
group:
|
group:
|
||||||
name: sudo
|
name: sudo
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Add local user to sudo group
|
- name: Add local user to sudo group
|
||||||
user:
|
user:
|
||||||
name: {{ item }}
|
name: "{{ item }}"
|
||||||
groups: sudo
|
groups: sudo
|
||||||
append: yes
|
append: yes
|
||||||
with_items: '{{ deploy_users }}'
|
with_items: '{{ deploy_users }}'
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: Add users
|
- name: Add users
|
||||||
user:
|
user:
|
||||||
name: "{{ username }}"
|
name: "{{ username }}"
|
||||||
password: "{{ password }}"
|
password: "{{ password }}"
|
||||||
shell: /bin/zsh
|
shell: /bin/zsh
|
||||||
with_items: "{{ users }}"
|
with_items: "{{ users }}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user