2020-10-17 00:21:57 -05:00
|
|
|
#!/usr/bin/env ansible-playbook
|
|
|
|
# vim:ft=ansible:
|
2020-10-17 01:00:06 -05:00
|
|
|
---
|
2020-10-17 18:06:35 -05:00
|
|
|
# Preambulatory system configuration
|
2020-10-17 00:21:57 -05:00
|
|
|
- hosts: all
|
|
|
|
roles:
|
|
|
|
- role: common
|
2020-10-17 01:00:06 -05:00
|
|
|
tags: [ common ]
|
|
|
|
- role: ansible-pull
|
|
|
|
tags: [ ansible, common ]
|
2021-02-26 10:07:57 -06:00
|
|
|
- role: adminuser
|
|
|
|
tags: [ adminuser, common ]
|
2021-03-11 08:04:57 -06:00
|
|
|
- role: sshd
|
|
|
|
vars:
|
|
|
|
sshd:
|
|
|
|
AcceptEnv: "LANG LC_*"
|
|
|
|
ChallengeResponseAuthentication: no
|
|
|
|
Compression: yes
|
|
|
|
PasswordAuthentication: no
|
|
|
|
PermitRootLogin: no
|
|
|
|
PrintMotd: no
|
|
|
|
PubkeyAuthentication: yes
|
|
|
|
Subsystem: "sftp /usr/lib/openssh/sftp-server"
|
|
|
|
UsePAM: yes
|
|
|
|
X11Forwarding: no
|
|
|
|
tags: [ sshd, common ]
|
2021-02-03 01:25:51 -06:00
|
|
|
- role: git
|
|
|
|
vars:
|
|
|
|
git_repos:
|
|
|
|
- repo: "{{ ansible_pull_repo }}"
|
|
|
|
dest: /etc/ansible
|
|
|
|
tags: [ ansible, git, common ]
|
2020-12-21 01:18:32 -06:00
|
|
|
# Import specific playbooks
|
|
|
|
- import_playbook: playbooks/db.yml
|
|
|
|
- import_playbook: playbooks/web.yml
|
2020-12-24 09:54:53 -06:00
|
|
|
- import_playbook: playbooks/game.yml
|
2021-02-25 12:56:48 -06:00
|
|
|
- import_playbook: playbooks/pis.yml
|
2021-02-28 19:48:42 -06:00
|
|
|
- import_playbook: playbooks/pimp.yml
|
2021-02-28 19:50:49 -06:00
|
|
|
- import_playbook: playbooks/pik8s.yml
|
2021-02-25 12:56:48 -06:00
|
|
|
- import_playbook: playbooks/desktop.yml
|