1 #####################################
2 ### someone's ansible provisioner ###
3 #####################################
4 # Part of: https://git.somenet.org/root/pub/somesible.git
5 # 2017-2024 by someone <someone@somenet.org>
8 - name: make sure /etc/systemd/system-preset/ exists
10 path: "/etc/systemd/system-preset/"
17 - name: copy 99-somesible-defaults.preset
20 dest: "/etc/systemd/system-preset/99-somesible-defaults.preset"
22 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/99-somesible-defaults.preset"
23 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/99-somesible-defaults.preset"
24 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/99-somesible-defaults.preset"
25 - "default/99-somesible-defaults.preset"
28 - name: reload systemd