This commit is contained in:
parent
433a231487
commit
a20cb4417c
@ -31,6 +31,16 @@
|
||||
state: latest
|
||||
loop: "{{ packages.pip }}"
|
||||
|
||||
- name: Create folder
|
||||
ansible.builtin.file:
|
||||
path: /etc/ansible
|
||||
state: directory
|
||||
|
||||
- name: Configure Ansible defaults
|
||||
ansible.builtin.template:
|
||||
src: ansible.j2
|
||||
dest: /etc/ansible/ansible.cfg
|
||||
|
||||
- name: Cleanup
|
||||
ansible.builtin.apt:
|
||||
autoremove: yes
|
||||
|
2
ansible/roles/os/templates/ansible.j2
Normal file
2
ansible/roles/os/templates/ansible.j2
Normal file
@ -0,0 +1,2 @@
|
||||
[defaults]
|
||||
callback_whitelist = ansible.posix.profile_tasks
|
Loading…
Reference in New Issue
Block a user