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
hosts: all
become: yes
gather_facts: yes
collections:
- jchristianh.baseos
become: true
gather_facts: true
vars_files:
@ -15,7 +11,7 @@
tasks:
- name: Include relevant role(s)
include_role:
ansible.builtin.include_role:
name: "{{ item }}"
loop: "{{ __baseos_include_roles }}"

View File

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