base: ansible-lint fixes
This commit is contained in:
parent
c23181edc7
commit
186cd19cd1
3 changed files with 30 additions and 30 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: setup ansible custom facts
|
||||
- name: Setup ansible custom facts
|
||||
ansible.builtin.file:
|
||||
dest: "{{ item }}"
|
||||
mode: 0755
|
||||
|
@ -10,7 +10,7 @@
|
|||
- /etc/ansible
|
||||
- /etc/ansible/facts.d
|
||||
|
||||
- name: add ansible_export fact
|
||||
- name: Add ansible_export fact
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/ansible/facts.d/export.fact
|
||||
content: |
|
||||
|
@ -24,15 +24,15 @@
|
|||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
||||
- name: reload facts
|
||||
- name: Reload facts
|
||||
ansible.builtin.setup:
|
||||
filter: ansible_local
|
||||
|
||||
- name: include os specific tasks
|
||||
- name: Include os specific tasks
|
||||
ansible.builtin.include_tasks:
|
||||
file: "{{ ansible_os_family }}.yml"
|
||||
|
||||
- name: disable at from all users
|
||||
- name: Disable at from all users
|
||||
ansible.builtin.copy:
|
||||
content: "\n"
|
||||
dest: "/etc/at.allow"
|
||||
|
@ -40,7 +40,7 @@
|
|||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
||||
- name: install basic roles
|
||||
- name: Install basic roles
|
||||
ansible.builtin.include_role:
|
||||
name: "{{ role }}"
|
||||
with_items:
|
||||
|
@ -52,7 +52,7 @@
|
|||
loop_control:
|
||||
loop_var: role
|
||||
|
||||
- name: install roles for physical hardware
|
||||
- name: Install roles for physical hardware
|
||||
ansible.builtin.include_role:
|
||||
name: "{{ role }}"
|
||||
with_items:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue