mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-28 07:31:23 -07:00
Fix integration tests on Arch (#7705)
* Fix ejabberd_user integration tests on Arch Linux. * Fix odbc integration tests on Arch Linux. * The old name of systemd_service is systemd.
This commit is contained in:
parent
2b64ef2a62
commit
aea238e5d1
2 changed files with 42 additions and 0 deletions
|
@ -33,6 +33,22 @@
|
|||
state: present
|
||||
notify: Remove ejabberd
|
||||
|
||||
- name: Make runnable on Arch
|
||||
community.general.ini_file:
|
||||
path: /usr/lib/systemd/system/ejabberd.service
|
||||
section: Service
|
||||
option: "{{ item }}"
|
||||
state: absent
|
||||
loop:
|
||||
- PrivateDevices
|
||||
- AmbientCapabilities
|
||||
when: ansible_distribution == 'Archlinux'
|
||||
|
||||
- name: Make installable on Arch
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
when: ansible_distribution == 'Archlinux'
|
||||
|
||||
- ansible.builtin.service:
|
||||
name: ejabberd
|
||||
state: started
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue