-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
This is a feature idea/request:
I copy some bash scripts to /usr/bin with the files module. To make sure that they are executable i have them as executable in my repository right now, which is not that great. Another option for me is to use the script module to set the execution bit afterwards, but i don't want to have to set all of them one by one or /usr/bin/* (which could break a lot of things)
So my idea would be an option like this:
All files in that path which are not folders would be made executable.
- type: files
files:
- source: abc
destination: /usr/bin
executable: yes
Or another option:
All files (other than folders) get set to this:
- type: files
files:
- source: abc
destination: /usr/bin
chmod: 0755
Metadata
Metadata
Assignees
Labels
No labels