Execution
Date 05 Dec 2025 13:21:24 +0000
Duration 00:00:54.96
Controller np6cc01eb996274
User root
Versions
Ansible 2.18.6
ara 1.7.4 / 1.7.4
Python 3.12.11
Summary
1 Hosts
156 Tasks
156 Results
1 Plays
23 Files
0 Records

File: /home/zuul/src/opendev.org/openstack/openstack-ansible/tests/bootstrap-aio.yml

---
# Copyright 2015, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

- name: Bootstrap the All-In-One (AIO)
  hosts: localhost
  gather_facts: true
  user: root
  roles:
    - role: "bootstrap-host"
  environment: "{{ deployment_environment_variables | default({}) }}"
  pre_tasks:
    - name: Run setup module
      ansible.builtin.setup:
        gather_subset:
          - network
          - hardware
          - virtual
    - name: Ensure sshd is installed
      ansible.builtin.package:
        name: openssh-server
        state: present
    - name: Ensure sshd is running
      vars:
        _ssh_service_name:
          redhat: sshd
          debian: ssh
      ansible.builtin.service:
        name: "{{ _ssh_service_name[ansible_facts['os_family'] | lower] }}"
        state: started
        enabled: true