Fix ansible lint errors

This commit is contained in:
Emmanouil Kampitakis
2020-02-27 07:49:40 +01:00
parent 718d907669
commit c13aa7bd6a
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@
include: users.yml
loop: "{{ basic_users }}"
loop_control:
loop_var: os_user
loop_var: os_user
- name: Setup sudo access
include: sudo.yml

View File

@@ -3,6 +3,6 @@
lineinfile:
dest: /etc/sudoers
regexp: "^%sudo"
line: "%sudo ALL=(ALL) NOPASSWD:ALL"
line: "%sudo ALL=(ALL) NOPASSWD:ALL"
tags: sudo
become: true

View File

@@ -6,7 +6,7 @@
uid: "{{ os_user.uid }}"
shell: "{{ os_user.shell }}"
groups: "{{ os_user.groups }}"
state: "{{ os_user.state | default('present')}}"
state: "{{ os_user.state | default('present') }}"
become: true
- name: Copy local ssh key to authorized keys file