Reformat yaml files to avoid wrong indentation, trailing spaces and long lines

This commit is contained in:
Jakub Jelen 2020-09-14 17:48:04 +02:00
parent 2c574fdcba
commit 9e7eae712d
8 changed files with 79 additions and 77 deletions

View file

@ -6,33 +6,33 @@ jobs:
test-ansible28: test-ansible28:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Lint Ansible Playbook - name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@master uses: ansible/ansible-lint-action@master
with: with:
targets: "tests/test.yml" targets: "tests/test.yml"
override-deps: | override-deps: |
ansible==2.8 ansible==2.8
args: "" args: ""
test-ansible29: test-ansible29:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Lint Ansible Playbook - name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@master uses: ansible/ansible-lint-action@master
with: with:
targets: "tests/test.yml" targets: "tests/test.yml"
override-deps: | override-deps: |
ansible==2.9 ansible==2.9
args: "" args: ""
test-ansible210: test-ansible210:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Lint Ansible Playbook - name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@master uses: ansible/ansible-lint-action@master
with: with:
targets: "tests/test.yml" targets: "tests/test.yml"
override-deps: | override-deps: |
ansible==2.10 ansible==2.10
args: "" args: ""

View file

@ -6,50 +6,50 @@ galaxy_info:
license: LGPLv3 license: LGPLv3
min_ansible_version: 2.8 min_ansible_version: 2.8
platforms: platforms:
- name: Debian - name: Debian
versions: versions:
- wheezy - wheezy
- jessie - jessie
- stretch - stretch
- buster - buster
- name: Ubuntu - name: Ubuntu
versions: versions:
- precise - precise
- trusty - trusty
- xenial - xenial
- bionic - bionic
- focal - focal
- name: FreeBSD - name: FreeBSD
version: version:
- 10.1 - 10.1
- name: EL - name: EL
versions: versions:
- 6 - 6
- 7 - 7
- 8 - 8
- name: Fedora - name: Fedora
versions: versions:
- 22 - 22
- 23 - 23
- name: OpenBSD - name: OpenBSD
versions: versions:
- 6.0 - 6.0
- name: AIX - name: AIX
versions: versions:
- 7.1 - 7.1
- 7.2 - 7.2
galaxy_tags: galaxy_tags:
- networking - networking
- system - system
- ssh - ssh
- openssh - openssh
- sshd - sshd
- server - server
- ubuntu - ubuntu
- debian - debian
- centos - centos
- redhat - redhat
- freebsd - freebsd
- openbsd - openbsd
- aix - aix
dependencies: [] dependencies: []

View file

@ -1,6 +1,8 @@
--- ---
__sshd_config_mode: '0644' __sshd_config_mode: '0644'
__sshd_packages: [ ] # sshd is not installed by yum / AIX toolbox for Linux. You'll need to manually install them using AIX Web Download Packs. # sshd is not installed by yum / AIX toolbox for Linux.
# You'll need to manually install them using AIX Web Download Packs.
__sshd_packages: []
__sshd_sftp_server: /usr/sbin/sftp-server __sshd_sftp_server: /usr/sbin/sftp-server
__sshd_config_group: system __sshd_config_group: system
__sshd_defaults: __sshd_defaults:

View file

@ -14,8 +14,8 @@ __sshd_defaults:
ChallengeResponseAuthentication: no ChallengeResponseAuthentication: no
GSSAPIAuthentication: yes GSSAPIAuthentication: yes
GSSAPICleanupCredentials: yes GSSAPICleanupCredentials: yes
# Note that UsePAM: no is not supported under RHEL/CentOS. See # Note that UsePAM: no is not supported under RHEL/CentOS. See
# https://github.com/willshersystems/ansible-sshd/pull/51#issuecomment-287333218 # https://github.com/willshersystems/ansible-sshd/pull/51#issuecomment-287333218
UsePAM: yes UsePAM: yes
X11Forwarding: yes X11Forwarding: yes
UsePrivilegeSeparation: sandbox UsePrivilegeSeparation: sandbox

View file

@ -14,8 +14,8 @@ __sshd_defaults:
ChallengeResponseAuthentication: no ChallengeResponseAuthentication: no
GSSAPIAuthentication: yes GSSAPIAuthentication: yes
GSSAPICleanupCredentials: no GSSAPICleanupCredentials: no
# Note that UsePAM: no is not supported under RHEL/CentOS. See # Note that UsePAM: no is not supported under RHEL/CentOS. See
# https://github.com/willshersystems/ansible-sshd/pull/51#issuecomment-287333218 # https://github.com/willshersystems/ansible-sshd/pull/51#issuecomment-287333218
UsePAM: yes UsePAM: yes
X11Forwarding: yes X11Forwarding: yes
PrintMotd: no PrintMotd: no