redeployment forgejo + setup ldap #1

Merged
mg merged 123 commits from gb into master 2024-04-04 09:48:10 +02:00
2 changed files with 11 additions and 8 deletions
Showing only changes of commit 20ef576163 - Show all commits

View file

@ -0,0 +1,9 @@
---
- name: Ensure services are enabled and started
become: true
ansible.builtin.systemd:
name: lldap.service
masked: false
enabled: true
state: started
...

View file

@ -2,6 +2,7 @@
- name: Ensure package is installed - name: Ensure package is installed
ansible.builtin.apt: ansible.builtin.apt:
deb: "{{ lldap_package_url }}" deb: "{{ lldap_package_url }}"
notify: Ensure services are enabled and started
- name: Ensure config is templated - name: Ensure config is templated
ansible.builtin.template: ansible.builtin.template:
@ -10,12 +11,5 @@
owner: lldap owner: lldap
group: lldap group: lldap
mode: "0644" mode: "0644"
notify: Ensure services are enabled and started
- name: Ensure services are enabled and started
become: true
ansible.builtin.systemd:
name: lldap.service
masked: false
enabled: true
state: started
... ...