Skip to content

Commit

Permalink
Removed systemd related code
Browse files Browse the repository at this point in the history
Generating the systemd user service units didn't work
as expected. So the corresponding code was removed.

Those who like to use systemd user service units can
generate them manually after deploying nextcloud
using this role.
  • Loading branch information
Tronde committed Nov 27, 2021
1 parent e927a4d commit c542c00
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,9 @@
recreate: no
debug: no

- name: Get current users homedir
ansible.builtin.shell: "echo $HOME"
register: ACCOUNT_HOMEDIR
changed_when: false
check_mode: no

- name: Create SYSTEMD USER UNIT directory if it doesn't exist
ansible.builtin.file:
path: "{{ ACCOUNT_HOMEDIR.stdout }}/.config/systemd/user"
state: directory
mode: '0755'

- name: Create the podman-pod(1)
containers.podman.podman_pod:
debug: no
generate_systemd:
path: "{{ ACCOUNT_HOMEDIR.stdout }}/.config/systemd/user/"
infra: yes
infra_conmon_pidfile: "{{ POD_INFRA_CONMON_PIDFILE }}"
publish: "{{ POD_PORT }}"
Expand All @@ -62,8 +48,6 @@
containers.podman.podman_container:
debug: yes
conmon_pidfile: "{{ MARIADB_CONMON_PIDFILE }}"
generate_systemd:
path: "{{ ACCOUNT_HOMEDIR.stdout }}/.config/systemd/user/"
image: "{{ MARIADB_IMAGE }}"
image_strict: yes
pod: "{{ POD_NAME }}"
Expand All @@ -85,8 +69,6 @@
containers.podman.podman_container:
debug: no
conmon_pidfile: "{{ NC_CONMON_PIDFILE }}"
generate_systemd:
path: "{{ ACCOUNT_HOMEDIR.stdout }}/.config/systemd/user/"
image: "{{ NC_IMAGE }}"
image_strict: yes
pod: "{{ POD_NAME }}"
Expand Down

0 comments on commit c542c00

Please sign in to comment.