Skip to content

Commit

Permalink
chore: normalize syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Jun 7, 2021
1 parent b0d2319 commit 9038a4e
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 15 deletions.
2 changes: 1 addition & 1 deletion library/oc_app.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/python
# Standards: 0.1
# Standards: 0.2
# -*- coding: utf-8 -*-

# Copyright: (c) 2019, Robert Kaussow <mail@geeklabor.de>
Expand Down
2 changes: 1 addition & 1 deletion library/oc_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/python
# Standards: 0.1
# Standards: 0.2
# -*- coding: utf-8 -*-

# Copyright: (c) 2019, Robert Kaussow <mail@geeklabor.de>
Expand Down
16 changes: 11 additions & 5 deletions meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Standards: 0.1
# Standards: 0.2
---
galaxy_info:
# @meta name:value: owncloud
author: Robert Kaussow
author: "ownCloud DevOps <devops@owncloud.com>"
namespace: owncloud
role_name: owncloud
# @meta description:value: >
# [![Source Code](https://img.shields.io/badge/github-source%20code-blue?logo=github&logoColor=white)](https://github.com/owncloud-ansible/owncloud)
# [![Build Status](https://drone.owncloud.com/api/badges/owncloud-ansible/owncloud/status.svg)](https://drone.owncloud.com/owncloud-ansible/owncloud)
Expand All @@ -18,17 +20,21 @@ galaxy_info:
# @end
description: Ansible role to setup an ownCloud server
license: Apache-2.0
min_ansible_version: 2.8
min_ansible_version: 2.10
platforms:
- name: Ubuntu
versions:
- xenial
- bionic
- focal
- name: EL
versions:
- 7
- 8
- name: opensuse
versions:
- 15.2
galaxy_tags:
- owncloud
- storage
- sharing

dependencies: []
4 changes: 2 additions & 2 deletions molecule/centos7/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import testinfra.utils.ansible_runner

testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']
).get_hosts('all')
os.environ["MOLECULE_INVENTORY_FILE"]
).get_hosts("all")


def test_owncloud_running_services(host):
Expand Down
4 changes: 2 additions & 2 deletions molecule/centos8/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import testinfra.utils.ansible_runner

testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']
).get_hosts('all')
os.environ["MOLECULE_INVENTORY_FILE"]
).get_hosts("all")


def test_owncloud_running_services(host):
Expand Down
4 changes: 2 additions & 2 deletions molecule/opensuse15/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import testinfra.utils.ansible_runner

testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']
).get_hosts('all')
os.environ["MOLECULE_INVENTORY_FILE"]
).get_hosts("all")


def test_owncloud_running_services(host):
Expand Down
4 changes: 2 additions & 2 deletions molecule/ubuntu1804/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import testinfra.utils.ansible_runner

testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']
).get_hosts('all')
os.environ["MOLECULE_INVENTORY_FILE"]
).get_hosts("all")


def test_owncloud_running_services(host):
Expand Down

0 comments on commit 9038a4e

Please sign in to comment.