Merge branch 'lint'
Fix linter warnings. Warnings in imported roles (requirements.txt) cannot be fixed here.
This commit is contained in:
commit
052eeba266
6 changed files with 8 additions and 8 deletions
2
main.yml
2
main.yml
|
@ -18,7 +18,7 @@
|
||||||
- name: Ensure unattended-upgrades is installed and up to date
|
- name: Ensure unattended-upgrades is installed and up to date
|
||||||
apt:
|
apt:
|
||||||
name: unattended-upgrades
|
name: unattended-upgrades
|
||||||
state: latest
|
state: present
|
||||||
|
|
||||||
- name: Setup unattended-upgrades
|
- name: Setup unattended-upgrades
|
||||||
include_role:
|
include_role:
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- apache2
|
- apache2
|
||||||
state: latest
|
state: present
|
||||||
|
|
||||||
- name: Ensure necessary modules are enabled
|
- name: Ensure necessary modules are enabled
|
||||||
apache2_module:
|
apache2_module:
|
||||||
|
|
|
@ -75,5 +75,5 @@
|
||||||
name: "{{ item.logname }}"
|
name: "{{ item.logname }}"
|
||||||
groups: docker
|
groups: docker
|
||||||
append: yes
|
append: yes
|
||||||
when: item.docker == true
|
when: item.docker
|
||||||
with_items: "{{ users }}"
|
with_items: "{{ users }}"
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
name: "{{ item.logname }}"
|
name: "{{ item.logname }}"
|
||||||
groups: sudo
|
groups: sudo
|
||||||
append: yes
|
append: yes
|
||||||
when: item.sudo == true
|
when: item.sudo
|
||||||
with_items: "{{ users }}"
|
with_items: "{{ users }}"
|
||||||
|
|
||||||
- name: Check if /etc/aliases exists
|
- name: Check if /etc/aliases exists
|
||||||
|
|
Loading…
Reference in a new issue