Skip to content

Commit

Permalink
Use uniform commenting style in tasks and defaults.
Browse files Browse the repository at this point in the history
Either:

``# .. $comment``
  Use whenever a comment is not intended for humans like folding marks
  or instructs for your editor.

``# $comment``
  Use whenever a comment is intended for humans.

This way, the comments can be easily moved around from tasks to defaults
and vise versa and it is ensured that only the comments intended for humans
make it into the documentation builds.
  • Loading branch information
ypid committed Jun 18, 2016
1 parent b5cbc9e commit 98bfd83
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tasks/configure_owncloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- '{{ owncloud_deploy_path }}/config/custom.config.php'
tags: [ 'role::owncloud:setup' ]

# ]]]
# .. ]]]

# Logging [[[
## ownCloud as of Version 9.0 does not do log rotate by default. This could
Expand All @@ -41,7 +41,7 @@
owner: 'root'
group: 'root'
mode: '0644'
# ]]]
# .. ]]]

# Setup the occ command [[[

Expand All @@ -64,7 +64,7 @@
mode: 0755
tags: [ 'role::owncloud:occ' ]

# ]]]
# .. ]]]

# Auto setup [[[

Expand Down Expand Up @@ -128,7 +128,7 @@
owncloud_auto_finish_setup.status is defined and
owncloud_auto_finish_setup.status|int != 200

# ]]]
# .. ]]]

# Run occ commands as specified in the inventory [[[
- name: Run occ commands as specified in the inventory
Expand All @@ -138,7 +138,7 @@
- '{{ owncloud_run_occ_global_commands }}'
- '{{ owncloud_run_occ_group_commands }}'
- '{{ owncloud_run_occ_host_commands }}'
# ]]]
# .. ]]]

# Configure cron job for background tasks [[[

Expand Down Expand Up @@ -169,4 +169,4 @@
job: '/usr/bin/php -f {{ owncloud_deploy_path }}/cron.php'
cron_file: 'owncloud'

# ]]]
# .. ]]]

0 comments on commit 98bfd83

Please sign in to comment.