Skip to content

Commit

Permalink
Add ansible-lint config files
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeeq committed Dec 19, 2024
1 parent 19095b8 commit 119625e
Show file tree
Hide file tree
Showing 8 changed files with 692 additions and 4 deletions.
19 changes: 19 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
# profile: basic
profile: null

# enable_list:
# - yaml

skip_list:
- role-name[path]
- yaml[line-length]
# - name
# - tags:formatting,yaml


# To skip task from verifying
# add comment # noqa: command-instead-of-module
## or
# tags:
# - skip_ansible_lint
667 changes: 667 additions & 0 deletions .ansible-lint-ignore

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions playbooks/restart-hypervisor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
state: present

- name: Check if reboot required
shell: |
ansible.builtin.shell: |
needs-restarting -r
register: reboot_required
changed_when: reboot_required.rc != 0

- name: Reboot if required
reboot:
ansible.builtin.reboot:
when:
- reboot_required.rc != 0
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# https://github.com/open-webui/open-webui
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main
# docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

# docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama

# openhermes2.5-mistral:7b-q4_K_M

# https://github.com/danny-avila/LibreChat/tree/main
---
2 changes: 1 addition & 1 deletion roles/servers/openwrt/dynamic-sqm-lte/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
dest: "/root/cake-autorate/cake-autorate_config.primary.sh"
owner: "root"
group: "root"
mode: 0755
mode: "0755"

- name: Set vars to enable SQM
set_fact:
Expand Down

0 comments on commit 119625e

Please sign in to comment.