Start containers on reboot.
This commit is contained in:
parent
de879a0793
commit
fd1d6bca53
@ -19,7 +19,6 @@
|
||||
registry: "{{ private_registry_domain }}"
|
||||
changed_when: false
|
||||
become: true
|
||||
when: not mysql_installed_flag.stat.exists
|
||||
|
||||
- name: Create mysql-server container
|
||||
containers.podman.podman_container:
|
||||
@ -36,7 +35,6 @@
|
||||
generate_systemd:
|
||||
path: /etc/systemd/system
|
||||
become: true
|
||||
when: not mysql_installed_flag.stat.exists
|
||||
|
||||
- name: start/enable container service
|
||||
ansible.builtin.systemd:
|
||||
@ -45,7 +43,6 @@
|
||||
state: started
|
||||
enabled: true
|
||||
become: true
|
||||
when: not mysql_installed_flag.stat.exists
|
||||
|
||||
- name: Include tasks/mysql-server_install_from_backup_stage_3.yml
|
||||
ansible.builtin.include_tasks: "tasks/mysql-server_install_from_backup_stage_3.yml"
|
||||
|
@ -8,7 +8,6 @@
|
||||
containers.podman.podman_network:
|
||||
name: reverse-proxy
|
||||
become: true
|
||||
when: not reverse_proxy_installed_flag.stat.exists
|
||||
|
||||
- name: Setup volume
|
||||
ansible.builtin.include_role:
|
||||
@ -92,7 +91,6 @@
|
||||
registry: "{{ private_registry_domain }}"
|
||||
changed_when: false
|
||||
become: true
|
||||
when: not reverse_proxy_installed_flag.stat.exists
|
||||
|
||||
- name: Create reverse-proxy container
|
||||
containers.podman.podman_container:
|
||||
@ -111,7 +109,6 @@
|
||||
generate_systemd:
|
||||
path: /etc/systemd/system
|
||||
become: true
|
||||
when: not reverse_proxy_installed_flag.stat.exists
|
||||
|
||||
- name: start/enable container service
|
||||
ansible.builtin.systemd:
|
||||
@ -120,4 +117,3 @@
|
||||
state: started
|
||||
enabled: true
|
||||
become: true
|
||||
when: not reverse_proxy_installed_flag.stat.exists
|
||||
|
Loading…
Reference in New Issue
Block a user