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 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

View File

@ -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 }}'

View File

@ -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 }}"