Changeset - cf15a5f3d965
[Not reviewed]
0 1 0
Branko Majic (branko) - 10 days ago 2024-09-09 16:01:43
branko@majic.rs
MAR-218: Quote all octal modes to avoid ambiguity due to changes in YAML standard.
1 file changed with 8 insertions and 8 deletions:
0 comments (0 inline, 0 general)
docs/usage.rst
Show inline comments
 
@@ -1591,7 +1591,7 @@ Before we start, here is a couple of useful pointers regarding the
 
        ansible.builtin.file:
 
          path: "/var/www/nextcloud.example.com/data"
 
          state: directory
 
          mode: 02770
 
          mode: "02770"
 
          owner: "admin-nextcloud_example_com"
 
          group: "web-nextcloud_example_com"
 

	
 
@@ -1599,7 +1599,7 @@ Before we start, here is a couple of useful pointers regarding the
 
        ansible.builtin.file:
 
          path: "/var/www/nextcloud.example.com/nextcloud/config"
 
          state: directory
 
          mode: 02750
 
          mode: "02750"
 
          owner: "admin-nextcloud_example_com"
 
          group: "web-nextcloud_example_com"
 

	
 
@@ -1614,7 +1614,7 @@ Before we start, here is a couple of useful pointers regarding the
 
          path: "/var/www/nextcloud.example.com/data/nextcloud.log"
 
          owner: "admin-nextcloud_example_com"
 
          group: "web-nextcloud_example_com"
 
          mode: 0660
 
          mode: "0660"
 

	
 
      - name: Symlink the default path used by the web server for finding application files
 
        ansible.builtin.file:
 
@@ -1648,7 +1648,7 @@ Before we start, here is a couple of useful pointers regarding the
 
          dest: "/var/www/nextcloud.example.com/install_nextcloud.py"
 
          owner: "admin-nextcloud_example_com"
 
          group: "web-nextcloud_example_com"
 
          mode: 0700
 
          mode: "0700"
 
        when: "not nextcloud_installed"
 

	
 
      - name: Install application
 
@@ -1675,7 +1675,7 @@ Before we start, here is a couple of useful pointers regarding the
 
          dest: "/var/www/nextcloud.example.com/nextcloud/config/local.config.php"
 
          owner: "admin-nextcloud_example_com"
 
          group: "web-nextcloud_example_com"
 
          mode: 0640
 
          mode: "0640"
 

	
 
5. Set-up files that are deployed by the role.
 

	
 
@@ -1936,7 +1936,7 @@ on the safe side:
 
          state: directory
 
          owner: admin-wiki_example_com
 
          group: web-wiki_example_com
 
          mode: 02750
 
          mode: "02750"
 

	
 
      - name: Start Django project for the Wiki website
 
        ansible.builtin.command: "/var/www/wiki.example.com/virtualenv/bin/exec django-admin startproject wiki_example_com /var/www/wiki.example.com/code"
 
@@ -1950,7 +1950,7 @@ on the safe side:
 
        ansible.builtin.copy:
 
          src: "{{ item }}"
 
          dest: "/var/www/wiki.example.com/code/wiki_example_com/{{ item }}"
 
          mode: 0640
 
          mode: "0640"
 
          owner: admin-wiki_example_com
 
          group: web-wiki_example_com
 
        with_items:
 
@@ -1976,7 +1976,7 @@ on the safe side:
 
          dest: "/var/www/wiki.example.com/code/create_superuser.py"
 
          owner: admin-wiki_example_com
 
          group: web-wiki_example_com
 
          mode: 0750
 
          mode: "0750"
 

	
 
      - name: Create initial superuser
 
        ansible.builtin.command: "/var/www/wiki.example.com/virtualenv/bin/exec ./create_superuser.py"
0 comments (0 inline, 0 general)