Compare commits
2 Commits
f7f609fde9
...
800c0dbb29
Author | SHA1 | Date | |
---|---|---|---|
|
800c0dbb29 | ||
|
e86ffd45cc |
11
.github/workflows/ansible_lint.yaml
vendored
11
.github/workflows/ansible_lint.yaml
vendored
@ -1,11 +0,0 @@
|
|||||||
---
|
|
||||||
name: Ansible Lint
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Run ansible-lint
|
|
||||||
uses: ansible-community/ansible-lint-action@main
|
|
@ -12,9 +12,7 @@
|
|||||||
dest: "{{ sshd_config_path }}/sshd_config"
|
dest: "{{ sshd_config_path }}/sshd_config"
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
become: true
|
become: true
|
||||||
register: sshd_config_file
|
notify: Restart sshd
|
||||||
notify:
|
|
||||||
- Restart sshd
|
|
||||||
|
|
||||||
- name: Write banner file
|
- name: Write banner file
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user