https://github.com/victorock/ansible-role-ansible
Ansible role to install Ansible
https://github.com/victorock/ansible-role-ansible
Last synced: 3 months ago
JSON representation
Ansible role to install Ansible
- Host: GitHub
- URL: https://github.com/victorock/ansible-role-ansible
- Owner: victorock
- License: gpl-3.0
- Created: 2018-07-04T23:34:15.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-05T14:44:46.000Z (almost 7 years ago)
- Last Synced: 2025-01-11T06:10:15.335Z (4 months ago)
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
Ansible Role to Install Ansible
=========Ansible role to install Ansible by Red Hat.
Role Variables
--------------Variables are defined in `defaults/main.yml` as well as `vars/`. Based on the operating system family, version, and installation method, variables will be set the appropriate values.
| Name | Default Value | Description |
|-------------------|---------------------|----------------------|
| `autorun` | `False` | Boolean to define if the role "autorun". Useful when you want to have dependencies solved by galaxy (`meta/main.yml`) but don't want it to run automatically. |
| `ansible_state` | `latest` | The Ansible state: `present`, `absent`, `` to install. |
| `ansible_release_repo` | `yes` | Boolean to enable `release` repo. |
| `ansible_preview_repo` | `no` | Boolean to enable `preview` repo. |
| `ansible_nightly_repo` | `no` | Boolean to enable `nightly` repo. |Examples
------------Follow below different examples and ways to use this role.
>Playbook: Install Ansible
```YAML
---
- name: "ansible: Install Ansible"
hosts: hosts
gather_facts: false
become: trueroles:
- role: victorock.ansible
autorun: true```
Dependencies
------------None
Requirements
------------None
License
------------GPLv3
Author
------------Victor da Costa (@victorock)