Revert "tripleo_container_manage: add test if systemd service is disabled"

It's unstable, I need to figure it out why.
This reverts commit faecfdaa90.

Change-Id: I07a41bdb699c6ec9a422d10b56186fdb5ebe3434
This commit is contained in:
Emilien Macchi 2020-07-21 22:41:08 +00:00
parent 680b4ea1c3
commit c9cab3399b
1 changed files with 0 additions and 31 deletions

View File

@ -168,37 +168,6 @@
when: when:
- not ansible_check_mode|bool - not ansible_check_mode|bool
- name: Test systemd state on fedora container after a manual stop
become: true
hosts: all
gather_facts: false
vars:
tripleo_container_manage_config: '/tmp/container-configs'
tripleo_container_manage_debug: true
tripleo_container_manage_config_patterns: '*.json'
tripleo_container_manage_systemd_order: true
tasks:
- name: Stop systemd service for tripleo_fedora in a manual stop
systemd:
name: tripleo_fedora.service
state: stopped
enabled: false
daemon_reload: true
- include_role:
name: tripleo_container_manage
post_tasks:
- name: Check if tripleo_fedora systemd service is active after a manual stop
command: systemctl is-active --quiet tripleo_fedora
register: tripleo_fedora_active_result
- name: Assert that tripleo_fedora systemd service is active after a manual stop
when:
- not ansible_check_mode|bool
assert:
that:
- tripleo_fedora_active_result.rc == 0
fail_msg: 'tripleo_fedora systemd service is not active after a manual stop'
success_msg: 'tripleo_fedora systemd service is active after a manual stop'
- name: Manage only one container - name: Manage only one container
become: true become: true
hosts: all hosts: all