ansible-lint fixes

This commit is contained in:
Chris Hammer 2023-12-08 10:46:15 -05:00
parent 3be846c946
commit 76848d2ea9
2 changed files with 11 additions and 15 deletions

View File

@ -1,12 +1,8 @@
--- ---
- name: Deploy a standardized base configuration - name: Deploy a standardized base configuration
hosts: all hosts: all
become: yes become: true
gather_facts: yes gather_facts: true
collections:
- jchristianh.baseos
vars_files: vars_files:
@ -15,7 +11,7 @@
tasks: tasks:
- name: Include relevant role(s) - name: Include relevant role(s)
include_role: ansible.builtin.include_role:
name: "{{ item }}" name: "{{ item }}"
loop: "{{ __baseos_include_roles }}" loop: "{{ __baseos_include_roles }}"

View File

@ -1,13 +1,13 @@
--- ---
__baseos_include_roles: __baseos_include_roles:
- resolv_conf - jchristianh.baseos.resolv_conf
- hostname - jchristianh.baseos.hostname
- etc_hosts - jchristianh.baseos.etc_hosts
- bashrc - jchristianh.baseos.bashrc
- motd - jchristianh.baseos.motd
- update_all_packages - jchristianh.baseos.update_all_packages
- base_packages - jchristianh.baseos.base_packages
- snmpd_conf - jchristianh.baseos.snmpd_conf
... ...