You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Louis Abel e3bd8cccf8
update pre-commit config
1 month ago
.github/ISSUE_TEMPLATE init 9 months ago
.gitlab/issue_templates init 9 months ago
callback_plugins init 9 months ago
files init 9 months ago
filter_plugins init 9 months ago
inventory init 9 months ago
library init 9 months ago
roles init 9 months ago
tasks init 9 months ago
templates init 9 months ago
.pre-commit-config.yaml update pre-commit config 1 month ago
LICENSE init 9 months ago
README.md change email address 4 months ago
ansible.cfg init 9 months ago

README.md

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