WARNING Listing 3 violation(s) that are fatal fqcn[action-core]: Use FQCN for builtin module actions (apt). group-all.yml:16 Use `ansible.builtin.apt` or `ansible.legacy.apt` instead. fqcn[action-core]: Use FQCN for builtin module actions (apt). group-all.yml:23 Use `ansible.builtin.apt` or `ansible.legacy.apt` instead. fqcn[action-core]: Use FQCN for builtin module actions (include_role). group-all.yml:28 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead. Read documentation for instructions on how to ignore specific rule violations. Rule Violation Summary count tag profile rule associated tags 3 fqcn[action-core] production formatting Failed after shared profile, 4/5 star rating: 3 failure(s), 0 warning(s) on 135 files.
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
---
|
|
- name: Tasks for all hosts
|
|
hosts: all
|
|
become: true
|
|
|
|
vars:
|
|
ansible_python_interpreter: /usr/bin/python3
|
|
|
|
roles:
|
|
- role: adriagalin.timezone
|
|
vars:
|
|
ag_timezone: "{{ timezone }}"
|
|
- role: users
|
|
|
|
tasks:
|
|
- name: Update and clean package cache
|
|
ansible.builtin.apt:
|
|
update_cache: true
|
|
cache_valid_time: 3600
|
|
autoclean: true
|
|
changed_when: false
|
|
|
|
- name: Ensure unattended-upgrades is installed and up to date
|
|
ansible.builtin.apt:
|
|
name: unattended-upgrades
|
|
state: present
|
|
|
|
- name: Setup unattended-upgrades
|
|
ansible.builtin.include_role:
|
|
name: hifis.unattended_upgrades
|
|
vars:
|
|
unattended_origins_patterns:
|
|
- "origin=*"
|
|
unattended_package_blacklist: [cowsay]
|
|
unattended_mail: "root"
|
|
unattended_mail_only_on_error: true
|
|
unattended_syslog_enable: true
|
|
|
|
- name: Install some common software packages
|
|
ansible.builtin.apt:
|
|
state: present
|
|
name:
|
|
- molly-guard
|
|
- mc
|
|
- bsd-mailx
|