Add Ansible linting and other stuff
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user