Compare commits

..
2 Commits
Author SHA1 Message Date
me 4ae411584e insgtall, fix lint warning. 2026-10-17 17:19:33 -07:00
me 2dccea21ae root, set the mode directly to avoid lint issues. 2026-10-17 17:18:51 -07:00
2 changed files with 3 additions and 10 deletions

No files matched your search

+3 -1
View File
@@ -8,7 +8,7 @@
mode: '0755' mode: '0755'
- name: General | Scripts | Install | Copy Files - name: General | Scripts | Install | Copy Files
copy: ansible.builtin.copy:
src: 'scripts/' src: 'scripts/'
dest: "{{ global_bin }}/" dest: "{{ global_bin }}/"
owner: root owner: root
@@ -20,6 +20,8 @@
if [[ -e {{ global_bin }}/{{ item }} ]]; then if [[ -e {{ global_bin }}/{{ item }} ]]; then
rm -v {{ global_bin }}/{{ item }} rm -v {{ global_bin }}/{{ item }}
fi fi
register: shell_check
changed_when: shell_check.rc == 0
loop: loop:
- compress-video.sh - compress-video.sh
- compress-images.sh - compress-images.sh
-9
View File
@@ -12,13 +12,8 @@
marker_end: "exit 0" marker_end: "exit 0"
state: present state: present
create: true create: true
- name: General | Scripts | Root | scm.sh Permissions
ansible.builtin.file:
path: "{{ user_root.home }}/bin/scm.sh"
mode: '0755' mode: '0755'
- name: General | Scripts | Root | scm-dev.sh - name: General | Scripts | Root | scm-dev.sh
ansible.builtin.blockinfile: ansible.builtin.blockinfile:
path: "{{ user_root.home }}/bin/scm-dev.sh" path: "{{ user_root.home }}/bin/scm-dev.sh"
@@ -42,8 +37,4 @@
marker_end: "exit 0" marker_end: "exit 0"
state: present state: present
create: true create: true
- name: General | Scripts | Root | scm-dev.sh Permissions
ansible.builtin.file:
path: "{{ user_root.home }}/bin/scm-dev.sh"
mode: '0755' mode: '0755'