This repository was archived by the owner on Mar 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
roles/settings/tasks/subtasks Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1515 - name : Migrator | All | Migration 01
1616 include_tasks : " migrator/all/migration_01.yml"
1717
18+ # Add single space after colon (if needed)
19+ - name : Migrator | All | Migration 02
20+ include_tasks : " migrator/all/migration_02.yml"
21+ when : (file != "backup_config.yml")
22+
1823 when : (file != "ansible.cfg")
1924
2025- name : Migrator | Migrations for 'ansible.cfg'
Original file line number Diff line number Diff line change 1+ # #######################################################################################
2+ # Title: Cloudbox: Settings | Migrator | All | Migration 02 #
3+ # Author(s): desimaniac #
4+ # URL: https://github.com/cloudbox/cloudbox #
5+ # -- #
6+ # Part of the Cloudbox project: https://cloudbox.works #
7+ # #######################################################################################
8+ # GNU General Public License v3.0 #
9+ # #######################################################################################
10+ ---
11+ - name : Migrator | All | '{{ file }}' | Migration 02 | Add single space after colon (if needed)
12+ replace :
13+ path : " {{ playbook_dir }}/{{ file }}"
14+ regexp : ' (:)[ \t]*(.*)'
15+ replace : ' \1 \2'
16+ owner : " {{ cloudbox_yml.stat.uid }}"
17+ group : " {{ cloudbox_yml.stat.gid }}"
18+ mode : 0664
19+
20+ - name : Migrator | All | '{{ file }}' | Migration 02 | Re-import Variables
21+ include_vars : " {{ playbook_dir }}/{{ file }}"
You can’t perform that action at this time.
0 commit comments