Skip to content

Commit 7df0df1

Browse files
authored
Merge pull request #11 from sap-linuxlab/dev
Move new role for HSR trigger to main #10
2 parents a23ca4f + cdbd245 commit 7df0df1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+425
-123
lines changed

.ansible-lint

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
skip_list:
2+
- empty-string-compare
3+
- indentation
4+
- line-length
5+
- command-instead-of-module # Using command rather than module
6+
- command-instead-of-shell # Use shell only when shell functionality is required
7+
- experimental # all rules tagged as experimental
8+
- no-changed-when # Commands should not change things if nothing needs doing
9+
- no-handler # Tasks that run when changed should likely be handlers
10+
- risky-shell-pipe # Shells that use pipes should set the pipefail option
11+
- unnamed-task # All tasks should be named

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,3 @@ __pycache__/
5151

5252
# VSCode
5353
.vscode
54-

.pre-commit-config.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
exclude: '^$'
3+
fail_fast: true
4+
repos:
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v4.0.1
7+
hooks:
8+
- id: end-of-file-fixer
9+
- id: check-merge-conflict
10+
- id: check-symlinks
11+
types: ["symlink"]
12+
types_or: ["symlink"]
13+
stages: [manual]
14+
- id: check-executables-have-shebangs
15+
name: "Executable text files have shebangs"
16+
- id: trailing-whitespace
17+
- id: check-xml
18+
- id: check-yaml
19+
args:
20+
- "-m"
21+
# - repo: https://github.com/adrienverge/yamllint.git
22+
# rev: v1.26.3
23+
# hooks:
24+
# - id: yamllint
25+
# exclude: >
26+
# (?x)^(
27+
# examples/playbooks/templates/.*|
28+
# examples/other/some.j2.yaml
29+
# )$
30+
# files: \.(yaml|yml)$
31+
# types: [file, yaml]
32+
# entry: yamllint --strict
33+
- repo: https://github.com/ansible-community/ansible-lint.git
34+
rev: v5.3.1 # put latest release tag from https://github.com/ansible-community/ansible-lint/releases/
35+
hooks:
36+
- id: ansible-lint
37+
files: \.(yaml|yml)$

.yamllint

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
ignore: |
3+
.github
4+
.tox
5+
6+
extends: default
7+
8+
rules:
9+
line-length: disable
10+
truthy: disable
11+
document-start: disable
12+
braces: disable
13+
comments-indentation: disable

LICENSE

100755100644
File mode changed.

docs/EXEC_EXAMPLES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ ansible-playbook --timeout 60 ./community.sap_operations/playbooks/sample-sap-fa
7979
# Option 2: Use sequential parse/execution, by using include_role inside Task block
8080
tasks:
8181
- name: Execute Ansible Role to start/stop SAP Systems
82-
include_role:
82+
ansible.builtin.include_role:
8383
name: { role: community.sap_operations.sap_control }
8484

8585
# Option 3: Use task block with import_roles

docs/diagrams/workflow_module_sap_facts.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/diagrams/workflow_role_sap_control.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/diagrams/workflow_role_sap_firewall.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/diagrams/workflow_sample_exec_sap_operations_sample.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)