Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ae411584e | ||
|
|
2dccea21ae |
No files matched your search
@@ -8,7 +8,7 @@
|
||||
mode: '0755'
|
||||
|
||||
- name: General | Scripts | Install | Copy Files
|
||||
copy:
|
||||
ansible.builtin.copy:
|
||||
src: 'scripts/'
|
||||
dest: "{{ global_bin }}/"
|
||||
owner: root
|
||||
@@ -20,6 +20,8 @@
|
||||
if [[ -e {{ global_bin }}/{{ item }} ]]; then
|
||||
rm -v {{ global_bin }}/{{ item }}
|
||||
fi
|
||||
register: shell_check
|
||||
changed_when: shell_check.rc == 0
|
||||
loop:
|
||||
- compress-video.sh
|
||||
- compress-images.sh
|
||||
|
||||
@@ -12,13 +12,8 @@
|
||||
marker_end: "exit 0"
|
||||
state: present
|
||||
create: true
|
||||
|
||||
- name: General | Scripts | Root | scm.sh Permissions
|
||||
ansible.builtin.file:
|
||||
path: "{{ user_root.home }}/bin/scm.sh"
|
||||
mode: '0755'
|
||||
|
||||
|
||||
- name: General | Scripts | Root | scm-dev.sh
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ user_root.home }}/bin/scm-dev.sh"
|
||||
@@ -42,8 +37,4 @@
|
||||
marker_end: "exit 0"
|
||||
state: present
|
||||
create: true
|
||||
|
||||
- name: General | Scripts | Root | scm-dev.sh Permissions
|
||||
ansible.builtin.file:
|
||||
path: "{{ user_root.home }}/bin/scm-dev.sh"
|
||||
mode: '0755'
|
||||
Reference in new issue
Block a user