Make playbook more general: Split into general and specific roles, use variables.

This commit is contained in:
Andreas B. Mundt 2023-09-02 15:46:27 +02:00
parent c59fb67ed0
commit 431acebfa3
13 changed files with 247 additions and 144 deletions

View file

@ -4,10 +4,10 @@
ansible.builtin.copy:
dest: /etc/apt/apt.conf
content: >
Acquire::http::Proxy "http://aptcache.pn.steinbeis.schule:3142/";
{{ apt_conf }}
- name: set ntp Server
ansible.builtin.lineinfile:
path: /etc/systemd/timesyncd.conf
insertafter: '^#NTP='
line: NTP=server.pn.steinbeis.schule
line: NTP={{ ntp_serv }}