Role - tripleo-securetty

Role Documentation

Welcome to the “tripleo_securetty” role documentation.

Role Defaults

This section highlights all of the defaults and variables set within the “tripleo_securetty” role.

# All variables intended for modification should be placed in this file.

# All variables within this role should have a prefix of "tripleo_securetty"
tripleo_ttys: []

Molecule Scenarios

Molecule is being used to test the “tripleo_securetty” role. The following section highlights the drivers in service and provides an example playbook showing how the role is leveraged.

Scenario: default

Driver: podman
Molecule Inventory
hosts:
  all:
    hosts:
      centos:
        ansible_python_interpreter: /usr/bin/python3
Example default playbook
- name: Converge
  hosts: all
  roles:
  - role: tripleo_securetty
    tripleo_ttys:
    - console
    - vc/1
    - vc/2
    - vc/3
    - vc/4
    - vc/5
    - vc/6
    - vc/7
    - vc/8
    - vc/9
    - vc/10
    - vc/11
    - tty1
    - tty2
    - tty3
    - tty4
    - tty5
    - tty6
    - tty7
    - tty8
    - tty9
    - tty10
    - tty11

Scenario: create

Driver: podman
Molecule Inventory
hosts:
  all:
    hosts:
      centos:
        ansible_python_interpreter: /usr/bin/python3
Example create playbook
- name: Converge
  hosts: all
  roles:
  - role: tripleo_securetty