Compare commits
No commits in common. "800c0dbb29f6c50ac73e7c7a13e4330b0f699369" and "f7f609fde9bf0ff81abe75ba74c9959edac60c9c" have entirely different histories.
800c0dbb29
...
f7f609fde9
11
.github/workflows/ansible_lint.yaml
vendored
Normal file
11
.github/workflows/ansible_lint.yaml
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
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,7 +12,9 @@
|
||||
dest: "{{ sshd_config_path }}/sshd_config"
|
||||
mode: '0644'
|
||||
become: true
|
||||
notify: Restart sshd
|
||||
register: sshd_config_file
|
||||
notify:
|
||||
- Restart sshd
|
||||
|
||||
- name: Write banner file
|
||||
ansible.builtin.template:
|
||||
|
Loading…
x
Reference in New Issue
Block a user