Skip to content

Instantly share code, notes, and snippets.

@giuseppe
Created July 26, 2016 09:25
Show Gist options
  • Save giuseppe/065818b9e6c962b91775be6104e2ca74 to your computer and use it in GitHub Desktop.
Save giuseppe/065818b9e6c962b91775be6104e2ca74 to your computer and use it in GitHub Desktop.
Provision Fedora 24 for running atomic tests
- name: Install packages for testing atomic
gather_facts: no
sudo: yes
hosts: all
tasks:
- name: update packages
dnf: state=latest name='*'
- name: install packages
dnf: state=present name={{ item }}
with_items:
- atomic
- docker
- make
- python2-requests
- libxml2-devel
- python-devel
- libsemanage-python
- python2-lazy-object-proxy
- python3-librepo
- git
- gcc
- redhat-rpm-config
- libffi-devel
- PyYAML
- python-docker-py
- libselinux-python
- dbus-glib
- python3-dnf-plugins-core
- python3-websocket-client
- golang-github-cpuguy83-go-md2man
- pylint
- python3-pylint
- python-slip-dbus
- pygobject2
- python2-dateutil
- python3-dateutil
- python-gobject
- python3-gobject
- golang
- ostree
- python3-slip-dbus
- python3-docker-py
- python2-coverage
- python3-coverage
- name: start docker
service: name=docker state=started
- name: upgrade pip
command: pip install --upgrade pip
- name: install requirements
command: pip install --upgrade -r https://raw.githubusercontent.com/projectatomic/atomic/master/requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment