This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# ^^^ YAML documents must begin with the document separator "---" | |
# | |
#### Example docblock, I like to put a descriptive comment at the top of my | |
#### playbooks. | |
# | |
# Overview: Playbook to bootstrap a new host for configuration management. | |
# Applies to: production | |
# Description: | |
# Ensures that a host is configured for management with Ansible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- include_vars: secrets.yml | |
- apt: pkg=fuse state=absent | |
- apt: pkg={{ item }} state=present update_cache=yes | |
with_items: | |
- build-essential | |
- libcurl4-openssl-dev | |
- libxml2-dev | |
- mime-support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- include_vars: secrets.yml | |
- apt: pkg={{ item }} state=present update_cache=yes | |
with_items: | |
- build-essential | |
- mime-support | |
- libfuse-dev | |
- libcurl4-openssl-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Create render slaves on Rackspace Cloud | |
hosts: renderslaves | |
user: root | |
connection: local | |
gather_facts: False | |
tasks: | |
- name: Provision a set of instances | |
local_action: | |
module: rax |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reno new <slug> #Slug... add-support-metricd-workers | |
vim releasenotes/note/<slug>-<id>.yaml | |
#Edit the release note with the content of the update. | |
#Check http://docs.openstack.org/developer/reno/usage.html | |
#Example https://github.com/openstack/puppet-keystone/blob/master/releasenotes/notes/os_service_default-9caeeb340d4bb303.yaml | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(03:49:22 PM) jtomasek: ccamacho: I've been using this tool up to now https://github.com/flofuchs/o3-virt-setup | |
(03:50:25 PM) jtomasek: ccamacho: although it should be much easier to install GUI as it is going to get installed as part of undercloud. mandre has last puppet patch pending to achieve that afaik | |
(03:52:12 PM) mandre: jtomasek: that last patch was merged yesterday | |
(03:52:13 PM) jpich: jtomasek, ccamacho: That patch merged earlier today :) https://review.openstack.org/#/c/363167/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd | |
sudo apt-get update | |
sudo apt-get install openvpn easy-rsa | |
sudo touch /etc/openvpn/server.conf | |
sudo gunzip -c /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz > server.conf | |
sudo mv server.conf /etc/openvpn/ | |
Change "dh dh1024.pem" to "dh dh2048.pem" | |
Uncomment: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to use the ADXL345 with a Raspberry Pi 3 | |
Shoping list: | |
Solder: https://www.amazon.es/gp/product/B005I4QCB4 13.40 | |
Solder support: https://www.amazon.es/gp/product/B001BMSBD4 6.30 | |
Solder wire: https://www.amazon.es/gp/product/B000LFTN1G 5.72 | |
Flux: https://www.amazon.es/gp/product/B00CIOVF8W 5.93 | |
JUmper kit: https://www.amazon.es/gp/product/B0144HG2RE 6.99 | |
Raspberry Pi 3: https://www.amazon.es/gp/product/B01CD5VC92 41.95 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deployment tips for puppet-tripleo | |
---------------------------------- | |
This section will describe different ways of debugging puppet-tripleo changes. | |
Deploying puppet-tripleo using gerrit patches or source code repositories | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In some cases, dependencies should be merged first in order to test newer | |
patches when adding new features to THT. With the following procedure, the user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Execute on the hypervisor: | |
sudo useradd stack | |
echo "stack:stack" | chpasswd | |
echo "stack ALL=(root) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/stack | |
sudo chmod 0440 /etc/sudoers.d/stack | |
su - stack | |
sudo yum -y install epel-release | |
sudo yum -y install yum-plugin-priorities |