Move motd configuration to Ubuntu machines and only Ubuntu machines
This commit is contained in:
parent
ea2e98e6ae
commit
635c8c1bf4
@ -10,8 +10,9 @@ token: !vault |
|
||||
api_endpoint: "https://netbox.desu.ltd"
|
||||
group_by:
|
||||
- device_roles
|
||||
- tags
|
||||
- device_types
|
||||
- manufacturers
|
||||
- platforms
|
||||
- tags
|
||||
device_query_filters:
|
||||
- has_primary_ip: "true"
|
||||
|
@ -12,15 +12,6 @@
|
||||
tags: [ common ]
|
||||
- role: adminuser
|
||||
tags: [ adminuser, common ]
|
||||
- role: geerlingguy.docker
|
||||
tags: [ docker, common, skip-pull ]
|
||||
- role: motd
|
||||
vars:
|
||||
motd_watch_services_extra:
|
||||
- docker
|
||||
- kubelet
|
||||
- postgresql
|
||||
tags: [ motd, common ]
|
||||
- role: willshersystems.sshd
|
||||
vars:
|
||||
sshd:
|
||||
@ -35,3 +26,7 @@
|
||||
UsePAM: yes
|
||||
X11Forwarding: no
|
||||
tags: [ sshd, common ]
|
||||
- hosts: all:!tags_no_docker
|
||||
roles:
|
||||
- role: geerlingguy.docker
|
||||
tags: [ docker, common, skip-pull ]
|
||||
|
12
playbooks/platforms_ub2004.yml
Executable file
12
playbooks/platforms_ub2004.yml
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env ansible-playbook
|
||||
# vim:ft=ansible:
|
||||
---
|
||||
- hosts: platforms_ub2004
|
||||
roles:
|
||||
- role: motd
|
||||
vars:
|
||||
motd_watch_services_extra:
|
||||
- docker
|
||||
- kubelet
|
||||
- postgresql
|
||||
tags: [ motd, common ]
|
2
site.yml
2
site.yml
@ -3,6 +3,8 @@
|
||||
---
|
||||
# Preambulatory system configuration
|
||||
- import_playbook: playbooks/all.yml
|
||||
# Platform configuration
|
||||
- import_playbook: playbooks/platforms_ub2004.yml
|
||||
# Manufacturer configuration
|
||||
- import_playbook: playbooks/manufacturers_raspi.yml
|
||||
- import_playbook: playbooks/manufacturers_s76.yml
|
||||
|
Loading…
Reference in New Issue
Block a user