Role Detail

deimosfr.coreos-ansible

Ansible role to deploy pypy to CoreOS to be able to get Ansible prerequisites
Downloads
133
Type Ansible
Minimum Ansible Version 2.2
Installation $ ansible-galaxy install deimosfr.coreos-ansible
Tags
coreos
system
Last Commit
Last Imported
Version History
Version Release Date
v0.7
v0.6
v0.5
v0.4
v0.3
v0.2
v0.1
Last 10 Imports
Completed Status
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS

CoreOS Ansible Role

This role install pypy and all requirements to run Ansible on CoreOS.

Role Variables

coreos_ansible_role_path: "{{playbook_dir}}"
coreos_ansible_install_pypy: true
ansible_ssh_user: core
ansible_python_interpreter: "/opt/python/bin/python"

Example Playbook

The repository where pypy is hosted limits the number or parallel downloads. That's why a serial to 1 is set:

- name: coreos-ansible
  hosts: coreos
  user: core
  become: yes
  gather_facts: False
  serial: 1
  roles:
    - deimosfr.coreos-ansible

On the hosts file, add vars:

[coreos]
coreos-01
coreos-02
coreos-03

[coreos:vars]
coreos_ansible_role_path: "{{playbook_dir}}"
ansible_ssh_user: core
ansible_python_interpreter: "/opt/python/bin/python"

License

GPLv3

Author Information

Pierre Mavro / deimosfr

None