Interface for our team to upload vendor lists from e.g. Catalist, L2, etc.
- User must specify source -- Can use pre-existing sources, or can make their own which becomes part of the choices for other users
Automating things in software development is more than useful and using Ansible is one way to automate software provisioning, configuration management, and application deployment. Normally you would install Ansible to your control node just like any other application but an alternate strategy is to deploy Ansible inside a standalone Docker image. But why would you do that? This approach has benefits to i.a. operational processes.
Although Ansible does not require installation of any agents within managed nodes, the environment where Ansible is installed is not so simple to setup. In control node it requires specific Python libraries and their system dependencies. So instead of using package manager to install Ansible and it’s dependencies we just pull a Docker image.
By creating an Ansible Docker image you get the Ansible version you want and isolate all of the required dependencies from the host machine which potentially might break things in other area
{ | |
"ALY": [ | |
"ALLEY", | |
"ALLEE", | |
"ALLY" | |
], | |
"ANX": [ | |
"ANEX", | |
"ANNEX", | |
"ANNX" |
In 2002, the Help America Vote Act required (among other things) that states must maintain a "computerized statewide voter registration list". These lists (henceforth "voterfiles") contain information about every registered voter and their voting history.
When people who have not worked with voterfile data before hear about voterfiles, their first response is almost always "But in my 8th grade civics class, I learned that a critical component of American democracy is the secret ballot! How can states have a list of how you vote?" Voterfiles do NOT include information about how an individual voted. They report whether an individual voted in a specific election.
The exact format and contents of a publicly available voterfile differ from state to state. At a minimum, a file will contain:
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
--- | |
- name: install PostgreSQL | |
apt: pkg={{ item }} update_cache=yes state=present | |
sudo: yes | |
tags: postgres | |
with_items: | |
- postgresql-{{ postgresql_version }} | |
- postgresql-client-{{ postgresql_version }} | |
- postgresql-contrib-{{ postgresql_version }} | |
- libpq-dev |
from HTMLParser import HTMLParser | |
import urllib2 | |
import os | |
import re | |
re_url = re.compile(r'^(([a-zA-Z_-]+)://([^/]+))(/.*)?$') | |
def resolve_link(link, url): | |
m = re_url.match(link) |