feat: Remove node-template hypervisor upload logic (treat as prerequisite instead)
This commit is contained in:
@ -38,8 +38,29 @@
|
||||
|
||||
- name: Configure Ansible defaults
|
||||
ansible.builtin.template:
|
||||
src: ansible.j2
|
||||
dest: /etc/ansible/ansible.cfg
|
||||
content: |
|
||||
[defaults]
|
||||
callbacks_enabled = ansible.posix.profile_tasks
|
||||
force_color = true
|
||||
stdout_callback = community.general.diy
|
||||
|
||||
[callback_diy]
|
||||
|
||||
[callback_profile_tasks]
|
||||
task_output_limit = 0
|
||||
|
||||
- name: Create default shell aliases
|
||||
ansible.builtin.lineinfile:
|
||||
path: ~/.bashrc
|
||||
state: present
|
||||
line: "{{ item }}"
|
||||
insertafter: EOF
|
||||
loop:
|
||||
- alias k="kubectl"
|
||||
- alias less="less -rf"
|
||||
loop_control:
|
||||
label: "{{ (item | regex_findall('([^ =\"]+)'))[2] }}"
|
||||
|
||||
- name: Cleanup
|
||||
ansible.builtin.apt:
|
||||
|
@ -1,6 +0,0 @@
|
||||
[defaults]
|
||||
callbacks_enabled = ansible.posix.profile_tasks
|
||||
force_color = true
|
||||
|
||||
[callback_profile_tasks]
|
||||
task_output_limit = 5
|
Reference in New Issue
Block a user