spell and whitespaces

This commit is contained in:
Bertrand Benjamin 2018-08-22 21:16:56 +02:00
parent 0a1068bf8e
commit 5f6c6cd213
3 changed files with 13 additions and 15 deletions

View File

@ -4,13 +4,11 @@
update_cache: yes
upgrade: yes
- name: Install zsh
- name: Install base packages
pacman:
name: zsh
state: present
- name: Install vim
pacman:
name: vim
name: "{{ item }}"
state: present
with_items:
- zsh
- vim

View File

@ -5,19 +5,19 @@
state: present
- name: Configure sudoers
template:
src: files/sudoers
template:
src: files/sudoers
dest: /etc/sudoers
mode: 0440
- name: Create sudo group
group:
group:
name: sudo
state: present
- name: Add local user to sudo group
user:
name: {{ item }}
groups: sudo
user:
name: "{{ item }}"
groups: sudo
append: yes
with_items: '{{ deploy_users }}'

View File

@ -1,8 +1,8 @@
---
- name: Add users
user:
name: "{{ username }}"
password: "{{ password }}"
name: "{{ username }}"
password: "{{ password }}"
shell: /bin/zsh
with_items: "{{ users }}"