Github user dlyle65535 commented on a diff in the pull request:
https://github.com/apache/incubator-metron/pull/144#discussion_r66057999
--- Diff: metron-deployment/roles/metron_streaming/tasks/main.yml ---
@@ -15,25 +15,18 @@
# limitations under the License.
#
---
-- name: Create Metron streaming directories
- file: path="{{ metron_directory }}/{{ item.name }}" state=directory
mode=0755
+- name: Create Metron directories
+ file: path={{ metron_directory }}/{{ item }} state=directory mode=0755
with_items:
- - { name: 'lib'}
- - { name: 'bin'}
- - { name: 'config'}
+ - lib
+ - bin
+ - config
- name: Create Source Config Directory
- file:
- path: "{{ zookeeper_config_path }}"
- state: directory
- mode: 0755
+ file: path={{ zookeeper_config_path }} state=directory mode=0755
--- End diff --
Not a strong objection, but I do find the vertical presentation easier to
read. I think it's because the yaml file decorator does a better job calling
out the parameters in the vertical orientation.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---