mirror of
https://github.com/lemeow125/ansible-playbooks.git
synced 2025-08-02 17:43:15 +08:00
Update scripts
This commit is contained in:
parent
79010ee462
commit
2ce5382f1f
3 changed files with 4 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
scripts_directory="/root/scripts/acme_scripts"
|
||||
directory="/root/scripts/acme_scripts"
|
||||
|
||||
# Execute all .sh files in the directory
|
||||
for script in "$scripts_directory"/*.sh; do
|
||||
for script in "$directory"/*.sh; do
|
||||
echo "--Executing $script--"
|
||||
bash "$script"
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue