Browse Source

Added skeleton for ansible playbook

master
Micah Halter 1 year ago
parent
commit
982a3fdb46
  1. 11
      README.md
  2. 5
      playbook.yml
  3. 1
      roles/disa-v1r6/defaults/main.yml
  4. 5
      roles/disa-v1r6/handlers/main.yml
  5. 1
      roles/disa-v1r6/tasks/main.yml
  6. 0
      roles/disa-v1r6/tasks/prelim.yml

11
README.md

@ -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
playbook.yml

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

1
roles/disa-v1r6/defaults/main.yml

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

5
roles/disa-v1r6/handlers/main.yml

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

1
roles/disa-v1r6/tasks/main.yml

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

0
roles/disa-v1r6/tasks/prelim.yml

Loading…
Cancel
Save