Add Ansible linting and other stuff

This commit is contained in:
Greg Hellings
2022-05-05 08:17:48 -05:00
parent b99a738da0
commit 5aa52aeff0
22 changed files with 177 additions and 56 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
- name: load version information
include_vars: "{{ item }}"
ansible.builtin.include_vars: "{{ item }}"
loop:
- "{{ role_path }}/vars/{{ ansible_facts['os_family'] }}.yml"
- "{{ role_path }}/vars/{{ ansible_facts['distribution'] }}.yml"
@@ -9,7 +9,7 @@
- name: modify init file
become: true
replace:
ansible.builtin.replace:
path: "{{ init_file }}"
replace: "{{ init_replace }}"
regexp: "{{ init_regexp }}"