Browse Source

Added skeleton for ansible playbook

master
Micah Halter 11 months ago
parent
commit
982a3fdb46
6 changed files with 21 additions and 2 deletions
  1. +9
    -2
      README.md
  2. +5
    -0
      playbook.yml
  3. +1
    -0
      roles/disa-v1r6/defaults/main.yml
  4. +5
    -0
      roles/disa-v1r6/handlers/main.yml
  5. +1
    -0
      roles/disa-v1r6/tasks/main.yml
  6. +0
    -0
      roles/disa-v1r6/tasks/prelim.yml

+ 9
- 2
README.md View File

@ -1,2 +1,9 @@
# ansible-postgresql-stig
This is a work in progress of an Ansible playbook that will audit and harden PostgreSQL 9 to the DoD STIG v1r6.
# ansible-postgresql9-stig
This is a work in progress of an Ansible playbook that will audit and harden
PostgreSQL to the DoD STIG v1r6.
## Rules to Investigate Manually
| Severity | Vulid | STIG-ID |
|----------|---------|----------------|

+ 5
- 0
playbook.yml View File

@ -0,0 +1,5 @@
---
- hosts: localhost
become: yes
roles:
- {role: disa-v1r6, tags: ['disa'] }

+ 1
- 0
roles/disa-v1r6/defaults/main.yml View File

@ -0,0 +1 @@
---

+ 5
- 0
roles/disa-v1r6/handlers/main.yml View File

@ -0,0 +1,5 @@
---
- name: restart postgresql
service:
name: postgresql
state: restarted

+ 1
- 0
roles/disa-v1r6/tasks/main.yml View File

@ -0,0 +1 @@
---

+ 0
- 0
roles/disa-v1r6/tasks/prelim.yml View File


Loading…
Cancel
Save