This commit is contained in:
@@ -28,6 +28,9 @@ jobs:
|
||||
python3 -m venv .venv
|
||||
.venv/bin/pip install ansible
|
||||
echo "$PWD/.venv/bin" >> $GITHUB_PATH
|
||||
- name: install Ansible dependencies
|
||||
run: |
|
||||
ansible-galaxy role install -r requirements.yml --roles-path roles
|
||||
|
||||
- name: Verify playbook syntax
|
||||
run: |
|
||||
@@ -35,7 +38,7 @@ jobs:
|
||||
|
||||
- name: Build bundle
|
||||
run: |
|
||||
bundle-playbook bootstrap.yml -o bootstrap.run
|
||||
bundle-playbook -f bootstrap.yml -o bootstrap.run
|
||||
|
||||
- name: Generate checksums
|
||||
run: |
|
||||
|
||||
+1
-1
@@ -70,7 +70,7 @@
|
||||
- role: users
|
||||
become: yes
|
||||
|
||||
- role: ssh_hardening
|
||||
- role: dev-sec.ssh-hardening
|
||||
become: yes
|
||||
|
||||
post_tasks:
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
roles:
|
||||
- name: dev-sec.ssh-hardening
|
||||
|
||||
Reference in New Issue
Block a user