ansible/site.yml

41 lines
1.1 KiB
YAML
Raw Normal View History

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 ]
- role: git
vars:
git_repos:
- repo: "{{ ansible_pull_repo }}"
dest: /etc/ansible
tags: [ ansible, git, common ]
# Import specific playbooks
- import_playbook: playbooks/db.yml
- import_playbook: playbooks/web.yml
- import_playbook: playbooks/game.yml
- import_playbook: playbooks/pis.yml
2021-02-28 19:48:42 -06:00
- import_playbook: playbooks/pimp.yml
- import_playbook: playbooks/pik8s.yml
- import_playbook: playbooks/desktop.yml