Skip to content

Rheinwerk/ansible-role-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Installation

This role can be used to install Ansible on Ubuntu

Build Status

Requirements

None.

Role Variables

None.

Dependencies

Python 3.12 and Pip installed. You can use the following ansible tasks to ensure requirements are met:

- name: Add Deadsnakes APT repository
  ansible.builtin.apt_repository:
    repo: ppa:deadsnakes/ppa

- name: Install python3.12 via APT
  ansible.builtin.apt:
    state: present
    update_cache: true
    name:
      - python3.12
      - python3.12-dev
      - python3.12-venv

- name: Install python3-pip via APT
  ansible.builtin.apt:
    state: present
    name: python3-pip

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  var:
    ansible:
      ...
  roles:
     - { role: ansible, tags: [ 'ansible' ], _ansible: "{{ ansible }}" }

License

Please see LICENSE.

Author Information

Original author is Daniel Schneller as member of the Rheinwerk project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages