Go to file
2023-02-15 16:50:14 -07:00
.github/ISSUE_TEMPLATE init 2022-07-08 15:12:08 -07:00
.gitlab/issue_templates init 2022-07-08 15:12:08 -07:00
callback_plugins init 2022-07-08 15:12:08 -07:00
files init 2022-07-08 15:12:08 -07:00
filter_plugins init 2022-07-08 15:12:08 -07:00
inventory init 2022-07-08 15:12:08 -07:00
library init 2022-07-08 15:12:08 -07:00
roles init 2022-07-08 15:12:08 -07:00
tasks init 2022-07-08 15:12:08 -07:00
templates init 2022-07-08 15:12:08 -07:00
.pre-commit-config.yaml update pre-commit config 2023-02-15 16:50:14 -07:00
ansible.cfg init 2022-07-08 15:12:08 -07:00
LICENSE init 2022-07-08 15:12:08 -07:00
README.md change email address 2022-11-17 22:21:43 -07:00

Hybrid Template

Ultimately, this is meant to be run by itself on an ansible box or imported as a project into tower (being careful with your tower settings). Right now it is built to be ran on an ansible box that is not tower.

Playbooks will sit in the root.

Requirements

List below the requirements for your hybrid structure below.

Dependencies

No dependencies currently.

Playbook Structure

At a minimum, a pre task section should be added.

  pre_tasks:
    - name: Check if ansible cannot be run here
      stat:
        path: /etc/no-ansible
      register: no_ansible

    - name: Verify if we can run ansible
      assert:
        that:
          - "not no_ansible.stat.exists"
        success_msg: "We are able to run on this node"
        fail_msg: "/etc/no-ansible exists - skipping run on this node"

  # Import roles/tasks here

Post tasks are at the discretion of those who are working on this repo.

Vars

Var information here, which will be expected for your hybrid structure.

License

MIT

Author Information

Louis Abel @nazunalika label@rockylinux.org