Fixes issues with consistency

This commit is contained in:
Emil 2024-03-06 02:39:16 +01:00
parent e529037269
commit 2b1923e40a
2 changed files with 4 additions and 4 deletions

View File

@ -21,8 +21,8 @@
{{ lte_container_name }}
when: >
lte_container_state == 'present' and
(container_state.rc == 1) or
("RUNNING" not in container_state.stdout)
container_state.rc == 1 or
'RUNNING' not in container_state.stdout
- name: update apt cache and upgrade system packages
ansible.builtin.shell:
cmd: |-

View File

@ -1,6 +1,6 @@
---
- ansible.builtin.include_tasks: container.yml
- ansible.builtin.include_tasks: ume.yml
when: lte_container_state == "present"
when: lte_container_state == 'present'
- ansible.builtin.include_tasks: openssh-server.yml
when: lte_container_state == "present"
when: lte_container_state == 'present'