Giter VIP home page Giter VIP logo

ansible's Issues

Need Fedora Xen role

Refer to this doc:

yum -y install xen xen-hypervisor xen-libs xen-runtime
systemctl enable xend.service
systemctl enable xendomains.service

grub2-set-default 'Fedora, with Xen hypervisor'

yum -y install virt-manager dejavu* xorg-x11-xauth
yum -y install libvirt-daemon-driver-network libvirt-daemon-driver-storage libvirt-daemon-xen
systemctl enable libvirtd.service
systemctl start libvirtd.service

Ensure bridge role works for dynamic -and- fixed IP addresses

Presently the bridge role simply works assuming a dynamic IP for the host. Here is an example of the resultant files.

In a nutshell:

  • Bridge (/etc/sysconfig/network-scripts/ifcfg-bridge0):
DEVICE="bridge0"
BOOTPROTO="static"
IPADDR="192.168.12.10"
NETMASK="255.255.255.0"
GATEWAY="192.168.12.2"
DNS1=192.168.12.2
ONBOOT="yes"
TYPE="Bridge"
NM_CONTROLLED="no"
  • Ethernet (/etc/sysconfig/network-scripts/ifcfg-eno16777736):
DEVICE=eno16777736
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
NM_CONTROLLED=no
BRIDGE=bridge0

Create role to set network manager policies for VPN aware VMs

When one has a VM where they'd like to use nmcli to start/stop a VPN, one must modify the file /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy.

In particular the following actions require modification:

<action id="org.freedesktop.NetworkManager.network-control">
...
    <defaults>
        <allow_any>yes</allow_any>
...

<action id="org.freedesktop.NetworkManager.settings.modify.system">
...
    <defaults>
        <allow_any>yes</allow_any>
...

The Ansible xml module looks like a promising solution to change the aforementioned values.

Create rsyslog role

Need ability to setup/install rsyslog.

Configuration:

  • /etc/rsyslog.d/50-default.conf:
    *.* @192.168.168.2:514

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.