-
-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Settings: Will now add a space after colon in YAML files.
- Should prevent any errors in YAML formatting issues in the future.
- Loading branch information
1 parent
f892eae
commit 82a7779
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
roles/settings/tasks/subtasks/migrator/all/migration_02.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
######################################################################################## | ||
# Title: Cloudbox: Settings | Migrator | All | Migration 02 # | ||
# Author(s): desimaniac # | ||
# URL: https://github.com/cloudbox/cloudbox # | ||
# -- # | ||
# Part of the Cloudbox project: https://cloudbox.works # | ||
######################################################################################## | ||
# GNU General Public License v3.0 # | ||
######################################################################################## | ||
--- | ||
- name: Migrator | All | '{{ file }}' | Migration 02 | Add single space after colon (if needed) | ||
replace: | ||
path: "{{ playbook_dir }}/{{ file }}" | ||
regexp: '(:)[ \t]*(.*)' | ||
replace: '\1 \2' | ||
owner: "{{ cloudbox_yml.stat.uid }}" | ||
group: "{{ cloudbox_yml.stat.gid }}" | ||
mode: 0664 | ||
|
||
- name: Migrator | All | '{{ file }}' | Migration 02 | Re-import Variables | ||
include_vars: "{{ playbook_dir }}/{{ file }}" |