Coder Social home page Coder Social logo

ansible-playbook-epics-ioc's Introduction

Ansible Playbook EPICS IOC

BSD License

This Ansible playbook is an example on how to use the lerwys.epics_ioc role, available on Ansible Galaxy, as well.

Requirements

  • ansible >= 2.10

Instructions

Install Ansible:

pip3 install --user ansible

Install role:

ansible-galaxy install -r lerwys.epics_ioc

Optional. Install a VM to test the role

Install Vagrant and VirtualBox:

Debian 9/10:

apt install vagrant virtualbox

Fedora 28/29/30/31/32/33:

dnf -y install @development-tools
dnf -y install kernel-headers kernel-devel dkms elfutils-libelf-devel qt5-qtx11extras
cat <<EOF | sudo tee /etc/yum.repos.d/virtualbox.repo
[virtualbox]
[virtualbox]
name=Fedora $releasever - $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc
EOF
dnf update
dnf install VirtualBox-6.1
usermod -a -G vboxusers $USER

Bring up Debian 9 VM:

vagrant up debian.stretch

Setup SSH key with Ansible:

ansible-playbook -i hosts -u vagrant setup.yml

Run playbook

If running against the Debian VM created above:

ansible-playbook -i hosts -l debian.stretch -u vagrant playbook.yml

Otherwise, use the following template:

ansible-playbook -i <hostname or IP>, -u <user_name> playbook.yml

License

BSD 2-clause

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.